public void Bake(IntPtr[] queueHandles) { if (IsBaked) { return; } CLFFT.CheckStatus(CLFFT.BakePlan(Handle, (uint)queueHandles.Length, queueHandles, null, IntPtr.Zero)); IsBaked = true; }
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; }
public CLFFTPlan(cl_context contextHandle, CLFFTDim dimension, ulong[] size) { CLFFT.CheckStatus(CLFFT.CreateDefaultPlan(out Handle, contextHandle, dimension, size)); }