I am consistently getting this error while trying to build from source on NVIDIA GPUs. It built fine on CPU though, haven’t tried other devices yet:
kernel referenced an external function exp, that could not be found.
This is the line in my .cl source that uses exp
rc_n2o5 = 1./ ( 3.6e4 * exp( -pow((rh/0.28),2.8) + 300. ));
What else could have gone wrong? I’m pretty sure exp is in the spec