Changeset a557a99 in sasmodels for sasmodels/core.py
- Timestamp:
- Sep 8, 2016 2:27:32 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:
- 551398c
- Parents:
- c52f9da
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/core.py
rc52f9da ra557a99 22 22 from . import kerneldll 23 23 24 if "SAS_OPENCL" in os.environ and os.environ["SAS_OPENCL"]=="None":24 if os.environ.get("SAS_OPENCL", "").lower() == "none": 25 25 HAVE_OPENCL = False 26 26 else: … … 229 229 platform = "dll" 230 230 231 # if platform is None: 232 # platform = "ocl" if model_info.opencl else "dll" 233 # if platform == "ocl" and not HAVE_OPENCL: 234 # platform = "dll" 235 231 236 # Check if type indicates dll regardless of which platform is given 232 237 if dtype is not None and dtype.endswith('!'):
Note: See TracChangeset
for help on using the changeset viewer.