pyopencl - Which is the suitable Memory for this OpenCL Kernel? -


i have been trying fft in opencl. worked me kernel this,

     __kernel void butterfly(__global float2* twid, __global float2* x,                     const int n,}      {          /* butterfly structure*/      } 

i call kernel thousands of times. read/write global memory time taking. twid(float2) array read, never manipulated , array x read & write type of array.

1.which suitable type of memory this? 2. if use local memory, able pass kernel argument without copying global memory?

i beginner in opencl.

local memory usable within work group; can't seen other work groups , can't used other kernels. global memory , images , things.

think of local memory user-managed cache used accelerate multiple access same global memory within work group.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -