Task #2454: OpenCL infrastructure improvements
OpenCL runtime version check missing
We missing the check of the device and driver OpenCL version capability against the minimum required.
#1 Updated by Szilárd Páll over 1 year ago
- Description updated (diff)
- Assignee set to Szilárd Páll
I think we can reduce the work by not worth fixing it in 2018 because one would be hard-pressed to find a GPU from a vendor that passes the (only) existing check, but is not at least v1.1. However, bumping the requirement to 1.2 means that we will have some older devices not meeting the requirements (e.g. NVIDIA Fermi).
#2 Updated by Szilárd Páll over 1 year ago
There was a bit of a misunderstanding,
clGetDeviceInfo(... CL_DRIVER_VERSION ...) returns the version of the OpenCL vendor driver, e.g. for NVIDIA something like 384.98. This is not too useful for checking compatibility, but it would be useful to report in the
mdrun -version header.
#3 Updated by Szilárd Páll over 1 year ago
Szilárd Páll wrote:
This is not too useful for checking compatibility, but it would be useful to report in the
Correction: that would be useful as long as we don't allow different vendor's devices in the same run --
and even then, the error that should prevent this (ATM actually this is missing) comes after the header is printed. Such info might be better in the device detection output next to the name/vendor/etc.