Search:

Type: Posts; User: Mark Flamer

Search: Search took 0.00 seconds.

  1. Re: Where/how to add kernel source code--*.cl--to a VS2010 p

    In VS2010 you can set a Pre-Build Event that will copy the files for you. That way the .cl files that your program loads kernels from will always be up to date. I will attach a screen shot if I can...
  2. Re: Allocate array in a kernel of length known only at runti

    Thanks for the explanation
  3. Re: Allocate array in a kernel of length known only at runti

    So, an array defined within a kernel like

    float temp[12];

    is actually allocated in global (slow) memory?
  4. Re: Allocate array in a kernel of length known only at runti

    My understanding is(and I'm no expert) that you can't. I think you can create a buffer in local(shared) memory from host code and pass this as an argument to your kernel.

    clSetKernelArg(kernel, 0,...
  5. Replies
    2
    Views
    942

    Re: Buffer Strategy

    Thanks for the reply. Am I correct in assuming it's roughly the equivalent of VBO's in openGL? My understanding(and I'm no expert) of buffers in openGL is that there is always some overhead...
  6. Replies
    2
    Views
    942

    Buffer Strategy

    I'm starting my second project using openCL and am curious about others opinions and experience with buffer size. Here is my question. For kernels that use small amounts of input data and as a result...
Results 1 to 6 of 7