Changeset f49675c in sasmodels
- Timestamp:
- Sep 2, 2016 7:29:34 AM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- b6f3bbe
- Parents:
- d6e2f8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/core.py
r8407d8c rf49675c 219 219 # Assign default platform, overriding ocl with dll if OpenCL is unavailable 220 220 # If opencl=False OpenCL is switched off 221 if platform is None or model_info.opencl: 221 # Finally one can force OpenCL calculation even if HAVE_OPENCL=False 222 if platform is None: 222 223 platform = "ocl" 223 224 if platform == "ocl" and not HAVE_OPENCL or not model_info.opencl: 224 225 platform = "dll" 226 #if model_info.opencl and not HAVE_OPENCL: 227 # platform = "ocl" 225 228 226 229 # Check if type indicates dll regardless of which platform is given
Note: See TracChangeset
for help on using the changeset viewer.