Hi i have a problem with the log2 function used in an OpenCL kernel, i have a compiler crash:
CVMS_ERROR_SERVICE_FAILURE: CVMS compiler has crashed or hung managing the service
the code is this:
int offset = log2((double)m)
where m is an int, where is the problem? Thanks
m? Note that the logarithm ofmwith a value <= 0 is undefined. What crashed - the compiler or the executable code? - Weather Vane