/// <summary> /// Set the parameters for the kernel /// </summary> /// <param name="i">The index of the parameter</param> /// <param name="kernelArg">The kernel arg</param> /// <returns>The next index value to be set</returns> public int Set(int i, KernelArg kernelArg) { return(OclInvoke.oclKernelSetKernelArg(_ptr, i, kernelArg)); }
/// <summary> /// Set the parameters for the kernel /// </summary> /// <param name="i">The index of the parameter</param> /// <param name="kernelArg">The kernel arg</param> /// <returns>The next index value to be set</returns> public int Set(int i, KernelArg kernelArg) { return OclInvoke.oclKernelSetKernelArg(_ptr, i, kernelArg); }
internal static extern IntPtr oclKernelArgCreate(KernelArg.Flags flags, IntPtr m, int wscale, int iwscale, IntPtr obj, IntPtr sz);