Changeset 07646b6 in sasmodels for sasmodels/compare.py
- Timestamp:
- Oct 25, 2018 1:43:01 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:
- 149eb53
- Parents:
- 31fc4ad (diff), d5ce7fa (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- Paul Kienzle <pkienzle@…> (10/25/18 12:41:48)
- git-committer:
- Paul Kienzle <pkienzle@…> (10/25/18 13:43:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/compare.py
rbe43e39 r07646b6 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 … … 115 116 === environment variables === 116 117 -DSAS_MODELPATH=path sets directory containing custom models 117 -DSAS_OPENCL=vendor:device| none sets the target OpenCLdevice118 -DSAS_OPENCL=vendor:device|cuda:device|none sets the target GPU device 118 119 -DXDG_CACHE_HOME=~/.cache sets the pyopencl cache root (linux only) 119 120 -DSAS_COMPILER=tinycc|msvc|mingw|unix sets the DLL compiler … … 724 725 set_integration_size(model_info, ngauss) 725 726 726 if dtype != "default" and not dtype.endswith('!') and not kernelcl.use_opencl(): 727 if (dtype != "default" and not dtype.endswith('!') 728 and not (kernelcl.use_opencl() or kernelcuda.use_cuda())): 727 729 raise RuntimeError("OpenCL not available " + kernelcl.OPENCL_ERROR) 728 730
Note: See TracChangeset
for help on using the changeset viewer.