PME broken with Intel OpenCL on OSX
At least the first run I tried using Intel OpenCL crashed with a clFFT error.
Unless it's trivial we might have to disable all PME/LJPME support for Intel OpenCL, and note in the docs that while it's possible to compile for Intel, it's not very useful for normal simulations due to this limitation.
Disable PME GPU on Apple OpenCL
Apple's OpenCL compiler seems to be unable to build a functional clFFT
which leads to a runtime error that aborts the runs rather than falling
back to PME-CPU. Hence this commit disabled PME-GPU on all Apple
#2 Updated by Szilárd Páll over 1 year ago
My guess is that your OpenCL compiler compiles 8-wide kernels, something that we should check for as neither Roland or I had time to work on to figure out where are additional sync points needed for correctness with <16-wide kernels (See #2516).
Given that it is extremely unlikely that it will be beneficial to offload PME as well as NB instead of running PME on the CPU cores concurrently with nonbondeds on the GPU, we should:
- disable PME offload with Intel GPUs (planned just didn't get to it)
- check the compiled exec size vs the minimum requirement (~ I've code, just need to dig it up and rebase it).
#3 Updated by Szilárd Páll over 1 year ago
Correction: glanced over the fact that you got a clFFT error. That likely means that clFFT doesn't work on your hardware + compiler combo. Are you running OSX? I don't think we've tested anything other than Linux with igc (and the proprietary drivers too IIRC).
#7 Updated by Erik Lindahl over 1 year ago
Apple has merely announced that it will be deprecated a year from now.
This case is old hardware, but given that it's a commercial OS running on the vendor's own hardware i think it's unlikely they would randomly start to de-support hardware ahead of the formal end-of-support :-)