int setArgs(cl::Kernel &ker, int id) { if (m_set_arg) return id; m_set_arg = true; id = m_lhs->setArgs(ker, id); id = m_rhs->setArgs(ker, id); return id; }
int setArgs(cl::Kernel &ker, int id, bool is_linear) { if (m_set_arg) return id; m_set_arg = true; id = m_lhs->setArgs(ker, id, is_linear); id = m_rhs->setArgs(ker, id, is_linear); return id; }
void setArgs(std::vector<void *> &args) { if (m_set_arg) return; m_lhs->setArgs(args); m_rhs->setArgs(args); m_set_arg = true; }
void setArgs(std::vector<void *> &args, bool is_linear) { if (m_set_arg) return; m_lhs->setArgs(args, is_linear); m_rhs->setArgs(args, is_linear); m_set_arg = true; }
int setArgs(cl::Kernel &ker, int id) { return m_child->setArgs(ker, id); }
int setArgs(cl::Kernel &ker, int id) { id = m_lhs->setArgs(ker, id); id = m_rhs->setArgs(ker, id); return id; }
int setArgs(cl::Kernel &ker, int id) { if (m_set_arg) return id; m_set_arg = true; return m_child->setArgs(ker, id); }