I'm really excited about OpenCL but there are some problems which really get on my nerves. One problem is that most of the code my colleague wrote (which works perfectly on his NVIDIA card with linux) doesn't work on my machine. This wouldn't be such a problem if there were nice error messages. But the only thing I get is:
cvmsErrorCompilerFailure: LLVM compiler has failed to compile a function.
If I look at the log it tells me:
Running pass 'AMDIL DAG->DAG Pattern Instruction Selection' on function '@test_kernel'
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff85d1b5d6 __kill + 10
1 libSystem.B.dylib 0x00007fff85dbbc7f __abort + 103
2 libSystem.B.dylib 0x00007fff85dbbced abort_report_np + 0
3 AMDil.dylib 0x000000010273b660 (anonymous namespace)::AMDILDAGToDAGISel::Select_ISD_SRL_v2i64(llvm::SDValue const& + 0
4 AMDil.dylib 0x000000010274bc96 (anonymous namespace)::AMDILDAGToDAGISel::SelectCode(llvm::SDValue) + 742
5 AMDil.dylib 0x00000001027526d2 (anonymous namespace)::AMDILDAGToDAGISel::InstructionSelect() + 210