Exemple #1
0
 public void Execute(OpenCLKernel kernel, long[] globalWorkSize, long[] localWorkSize = null, ICollection<ComputeEventBase> events = null)
 {
     ExecuteWithOffset(kernel, null, globalWorkSize, localWorkSize, events);
 }
Exemple #2
0
        public void ExecuteWithOffset(OpenCLKernel kernel, long[] globalWorkOffset, long[] globalWorkSize, long[] localWorkSize = null, ICollection<ComputeEventBase> events = null)
        {
            Contract.Requires(kernel != null);

            ComputeCommandQueue.Execute(kernel.ComputeKernel, globalWorkOffset, globalWorkSize, localWorkSize, events);
        } 
Exemple #3
0
 public void ExecuteTask(OpenCLKernel kernel, ICollection<ComputeEventBase> events = null)
 {
     ComputeCommandQueue.ExecuteTask(kernel.ComputeKernel, events);
 }