Changeset 6cbdcd4 in sasmodels for sasmodels/kernelcl.py
- Timestamp:
- Mar 4, 2018 6:39:55 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:
- 1ee5ac6
- Parents:
- d18d6dd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kernelcl.py
rb4272a2 r6cbdcd4 208 208 Build a model to run on the gpu. 209 209 210 Returns the compiled program and its type. The returned type will211 be float32 even if the desired type is float64 if any of the 212 devices in the context do not support the cl_khr_fp64 extension.210 Returns the compiled program and its type. 211 212 Raises an error if the desired precision is not available. 213 213 """ 214 214 dtype = np.dtype(dtype)
Note: See TracChangeset
for help on using the changeset viewer.