Changeset 4de14584 in sasmodels
- Timestamp:
- Oct 12, 2018 11:07:47 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:
- 8b31efa
- Parents:
- 74e9b5f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/compare.py
rb0de252 r4de14584 41 41 from . import kerneldll 42 42 from . import kernelcl 43 from . import kernelcuda 43 44 from .data import plot_theory, empty_data1D, empty_data2D, load_data 44 45 from .direct_model import DirectModel, get_mesh … … 725 726 set_integration_size(model_info, ngauss) 726 727 727 if dtype != "default" and not dtype.endswith('!') and not kernelcl.use_opencl(): 728 if (dtype != "default" and not dtype.endswith('!') 729 and not (kernelcl.use_opencl() or kernelcuda.use_cuda())): 728 730 raise RuntimeError("OpenCL not available " + kernelcl.OPENCL_ERROR) 729 731
Note: See TracChangeset
for help on using the changeset viewer.