AnsweredAssumed Answered

OpenCL compiler crashes, example with 2 line kernel

Question asked by jaap_nhl_lwd on Feb 8, 2013
Latest reply on Feb 25, 2013 by himanshu.gautam

I have problems compiling my some of my kernels for AMD GPUs, no problems with NVDIA OpenCL.

 

Used platform OpenCL 1.2 AMD-APP (1084.4) Juniper HD5700 Win7-64.

 

Minimal kernel extracted from bigger one as example:

 

kernel void AMDBug (const uint xx, global uint *gg) {
   uint x = get_global_id(0) + xx;
   if (x < xx) *gg = 1;
}

 

Compiler crashed when compiling for GPU, no problem for CPU.

Last message before crash:

LLVM ERROR: Cannot select: 0xb1e670: i8 = setcc <lots of hex codes>

 

Please your advice.

Best regards, Jaap.

Outcomes