示例#1
0
        public void Bake(IntPtr[] queueHandles)
        {
            if (IsBaked)
            {
                return;
            }

            CLFFT.CheckStatus(CLFFT.BakePlan(Handle, (uint)queueHandles.Length, queueHandles, null, IntPtr.Zero));
            IsBaked = true;
        }
示例#2
0
 public void EnqueueTransform(
     CLFFTDirection dir,
     UInt32 numQueuesAndEvents,
     cl_command_queue[] commQueues,
     UInt32 numWaitEvents,
     cl_event[] waitEvents,
     cl_event[] outEvents,
     cl_mem[] inputBuffers,
     cl_mem[] outputBuffers,
     cl_mem tmpBuffer
     )
 {
     CLFFT.CheckStatus(CLFFT.EnqueueTransform(Handle, dir, numQueuesAndEvents, commQueues, numWaitEvents, waitEvents, outEvents, inputBuffers, outputBuffers, tmpBuffer));
     IsBaked = true;
 }
示例#3
0
 public CLFFTPlan(cl_context contextHandle, CLFFTDim dimension, ulong[] size)
 {
     CLFFT.CheckStatus(CLFFT.CreateDefaultPlan(out Handle, contextHandle, dimension, size));
 }