Search:

Type: Posts; User: rob

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    3,507

    Re: CLH_ERROR_NO_BINARY_FOR_GPU for image2d_t

    Here is what Apple had to say about this issue. Apparently they are looking to Khronos to update the spec. They effectively say that image2d_t and image3d_t (as well as sampler) are structures, and...
  2. Replies
    9
    Views
    4,481

    Re: LLVM compilation failure -- why?

    Apple bug report 7375696 filed.
  3. Replies
    9
    Views
    4,481

    Re: LLVM compilation failure -- why?

    Well, yes, the compiler should generate an error. But this is Apple's OpenCL compiler, no? The one which is kinda fragile... I hope they pay attention to the bug reports and fix them for 10.6.2.
    ...
  4. Replies
    9
    Views
    4,481

    Re: LLVM compilation failure -- why?

    Indeed, that was the case. I replaced the variable array with a fixed-size array, and that worked. And, I didn't know that until I did a search for "arrays" in the standard and discovered in section...
  5. Replies
    9
    Views
    4,481

    Re: LLVM compilation failure -- why?

    Or, and I'm just guessing here, maybe there's a problem with variable arrays on the stack. When the line is in, the array is accessed, which causes the compiler to blow up. When the line is out, the...
  6. Replies
    9
    Views
    4,481

    Re: LLVM compilation failure -- why?

    Replaced const uint *filter with global uint *filter, same error. I think there's something more fundamental and buggy going on here. Otherwise, why would the code compile the second section -- uint...
  7. Replies
    9
    Views
    4,481

    LLVM compilation failure -- why?

    So I have this kernel which compiles fine when the indicated line is commented out, but causes this error when the line is in:

    cvmsErrorCompilerFailure: LLVM compiler has failed to compile a...
  8. Replies
    3
    Views
    3,507

    Re: CLH_ERROR_NO_BINARY_FOR_GPU for image2d_t

    Thanks, I have filed bug ID 7372367. Let's hope we see some action from Apple on this!
  9. Replies
    3
    Views
    3,507

    CLH_ERROR_NO_BINARY_FOR_GPU for image2d_t

    This is on MacOS 10.6.1. Here's my kernel:


    __kernel void Convolve(
    __read_only __global image2d_t img,
    __write_only __global image2d_t newImg,
    __constant uint *filter, const int...
Results 1 to 9 of 9