Changeset 4638f1d in sasview for src/sas/sasgui/perspectives/fitting
- Timestamp:
- Nov 29, 2016 9:47:08 AM (8 years ago)
- Children:
- a9279cc
- Parents:
- 2e63860
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/gpu_options.py
r2e63860 r4638f1d 97 97 #TODO: Is PYOPENCL_CTX setup up in this order? 98 98 import pyopencl as cl 99 clinfo = [] 99 100 for platform in cl.get_platforms(): 100 clinfo = [device.name for device in platform.get_devices()] 101 for device in platform.get_devices(): 102 clinfo.append(device.name) 101 103 clinfo.append("No OpenCL") 102 104 except:
Note: See TracChangeset
for help on using the changeset viewer.