Hi,
is it normal that OpenCL doesn’t work with CPU (with Intel OpenCL and PCL I keep getting NaNs whilst NVIDIA OpenCL works?) If so what is the reason?
Best
Hi,
is it normal that OpenCL doesn’t work with CPU (with Intel OpenCL and PCL I keep getting NaNs whilst NVIDIA OpenCL works?) If so what is the reason?
Best
These are likely runtime bugs. We’ve had success running with OpenCL on CPUs in the past although the implementations are typically poorly maintained relative to GPU implementations.
Regards, Freddie.
If I try to do some matmul with both CPU and GPU I get the same results. Where do you think the bug may lie? Kernel scheduling and their dependencies?
Best
That would be my bet; however it could also be with the pointwise kernels as some of them are quite complex.
When investing this kind of thing the Euler vortex test case is usually the best option with the time stepping changed to forwards Euler. Then just run for a single time step and see if any NaN’s appear.
Regards, Freddie.