2 Replies Latest reply on May 22, 2011 4:34 AM by MicahVillmow

    2011 macbook pro: OpenCL compiler problems

    nigi10

      Hi everyone,

      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'

       

       

      abort() called

       

      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

      Is it just one of many "known bugs" and if yes is there any way to get a newer version of the AMD driver on to my macbook? Or do I have to wait untill apple fixes it??
      Thanks,
      Nicholas