Changeset 01c8d9e in sasmodels for sasmodels/core.py
- Timestamp:
- Aug 7, 2018 12:32:18 PM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- c11d09f
- Parents:
- 707cbdb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/core.py
r3221de0 r01c8d9e 140 140 used with functions in generate to build the docs or extract model info. 141 141 """ 142 142 143 if "+" in model_string: 143 144 parts = [load_model_info(part) … … 205 206 206 207 numpy_dtype, fast, platform = parse_dtype(model_info, dtype, platform) 207 208 208 source = generate.make_source(model_info) 209 209 if platform == "dll": … … 265 265 # Assign default platform, overriding ocl with dll if OpenCL is unavailable 266 266 # If opencl=False OpenCL is switched off 267 268 267 if platform is None: 269 268 platform = "ocl" … … 291 290 else: 292 291 numpy_dtype = np.dtype(dtype) 293 294 292 # Make sure that the type is supported by opencl, otherwise use dll 295 293 if platform == "ocl":
Note: See TracChangeset
for help on using the changeset viewer.