#974 closed defect (obsolete)
blacklist Intel HD 620/630 for double precision
Reported by: | pkienzle | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | SasView 4.2.0 |
Component: | SasView | Keywords: | |
Cc: | Work Package: | SasView Bug Fixing |
Description
Double precision models are failing for the new Kaby Lake processor series from Intel (HD 620/630). Until the drivers are fixed we need to avoid using this GPU for double precision.
We cannot reliably identify the GPU device from OpenCL; on Ubuntu it identifies only as Intel HD Graphics, not the particular model number. Instead we will need to to extend sasmodels.kernelcl so that we can indicate which device should be used for single precision and which should be used for double precision, and extend sas.sasgui.perspectives.fitting.gui_options so that we can indicate which device to use for single precision and which device to use for double precision.
We could use the code from the following to identify processor:
https://github.com/pydata/numexpr/blob/master/numexpr/cpuinfo.py
which has Win32CPUInfo, DarwinCPUInfo, LinuxCPUInfo; from there we can get family/model/stepping for intel processors, and by knowing the Kaby Lake processor family, exclude them by default from double precsion devices.
Change History (5)
comment:1 Changed 7 years ago by pkienzle
comment:2 Changed 7 years ago by butler
- Milestone changed from SasView 4.2.0 to SasView 4.3.0
comment:3 Changed 7 years ago by pkienzle
Newer Intel OpenCL drivers may have fixed the problem (at least it did on a HD 6100 GPU).
comment:4 Changed 7 years ago by krzywon
- Resolution set to obsolete
- Status changed from new to closed
I just tested this on my home laptop, one of the first computers to find this issue, and every test passes after checking I had the latest drivers.
Laptop specs: Intel Core i5-7200U, HD 620 GPU
comment:5 Changed 7 years ago by butler
- Milestone changed from SasView 4.3.0 to SasView 4.2.0
Don't need to identify the processor just yet. For now reject fp64 on a GPU device if the vendor is Intel. That will get around the problems on HD 620/630 but won't address the problems with Iris 6100, HD 4400 and HD 5500 identified in OpenClTest.
Kaby Lake CPU IDs extracted from http://browser.geekbench.com/v4/cpu