Search:

Type: Posts; User: Adam Simpson

Search: Search took 0.00 seconds.

  1. Re: Can't assign char numeric value in kernel

    Yes, I removed the try/catch statement to make the code a little shorter and just tried CL_LOG_ERRORS=stdout and neither of them shows an error.
  2. Re: Can't assign char numeric value in kernel

    Sorry, I had a typo in the posted kernel, the global array on the device should be type char, not type int to duplicate the problem:


    __kernel void testKernel(__global char * out)
  3. Replies
    5
    Views
    4,802

    Re: Hello world program - compilation error

    Try changing the order of your includes:


    #include <CL/cl.hpp>
    #include <cstdio>
    #include <cstdlib>
    #include <iostream>

    to
  4. Can't assign char numeric value in kernel

    I am having a silly problem I just can't figure out. In my kernel I want to use a char array to hold values in the range 0-255 but am unable to do so, when I read back the char array on the host side...
  5. Replies
    1
    Views
    2,096

    Constant memory

    I am having some trouble figuring out how to copy to constant memory space. In CUDA I could use cudamemcpytosymbol() on the host side to copy over to device constant memory. In the SDK examples i've...
  6. Replies
    1
    Views
    2,574

    Intel CPU drivers?

    Does anyone know if Intel is planning on releasing OpenCL CPU drivers in the future, as AMD has? I am very interested in using OpenCL for an upcoming project but being able to use the CPU is vital....
Results 1 to 6 of 11