Search:

Type: Posts; User: oconnellseanm

Search: Search took 0.00 seconds.

  1. OpenCL/OpenGL interop problem with textures on NVIDIA

    I've written a simple voxel raytracer which fills in an OpenGL texture inside of the kernel then displays it as a fullscreen quad in OpenGL. On my NVIDIA GTX 480 (latest drivers) the screen is...
  2. Replies
    5
    Views
    1,913

    Re: casting char* to struct

    **EDIT**

    I mistakenly left out the __global modifier when declaring the Pixel variable. It all works fine now.

    __global Pixel* p = (__global Pixel* )&colorBuffer[index * 3];
  3. Replies
    5
    Views
    1,913

    Re: casting char* to struct

    I've already included the cl_khr_byte_addressable_store extension. It still crashes. I've also tried adding the alignment and byte packing attributes to the Pixel struct but to no avail.

    typedef...
  4. Replies
    5
    Views
    1,913

    casting char* to struct

    I'm passing in an uchar array to my kernel then trying to cast to a struct. The GPU driver crashes after a few frames. Here's the OpenCL code. I've stripped out everything else to simplify it and...
Results 1 to 4 of 9