コード例 #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 void Destroy()
 {
     CLFFT.DestroyPlan(ref Handle);
 }
コード例 #4
0
 public CLFFTPlan(cl_context newContextHandle, CLFFTPlan other)
 {
     CLFFT.CopyPlan(out Handle, newContextHandle, other.Handle);
 }
コード例 #5
0
 public CLFFTPlan(cl_context contextHandle, CLFFTDim dimension, ulong[] size)
 {
     CLFFT.CheckStatus(CLFFT.CreateDefaultPlan(out Handle, contextHandle, dimension, size));
 }