I seem to have found a case where clBuildProgram() crashes with no error or log on Windows.
Linux is unaffected it seems.
It seems to be related to optimization as it works fine if I add the -cl-opt-disable option.
I've narrowed it down to a for loop with a variable number of iterations.
I've tried #pragma unroll 1 with no effect.
Any advice for getting more information from the runtime to debug this?
連結已複製
0 回應
