Example #1
0
 public KernelInvocation(JittedFunction function, IEnumerable<KernelArgument> args)
 {
     CudaDriver.Ensure();
     Function = function.AssertNotNull();
     Args = new KernelArguments(args);
 }
Example #2
0
 public KernelInvocation(JittedFunction function, params KernelArgument[] args)
     : this(function, (IEnumerable<KernelArgument>)args)
 {
 }