public void Invoke(ArgumentList args) { base.CheckState(); for(int i = this.Dims; i < 3; i++) { this.itemsDim[i] = 1; this.groupsDim[i] = 1; } occaKernelSetAllWorkingDims(this.OccaHandle, this.m_Dims, this.itemsDim.x, this.itemsDim.y, this.itemsDim.z, this.groupsDim.x, this.groupsDim.y, this.groupsDim.z); occaKernelRun_(this.OccaHandle, args.OccaHandle); }
public void Invoke(params object[] args) { base.CheckState(); using(var agl = new ArgumentList(args)) { this.Invoke(agl); } }
public void AddDefine(string macro, object value) { occaKernelInfoAddDefine(this.OccaHandle, macro, ArgumentList.Obj2OccaType(value)); }