Changeset 676351f in sasmodels for sasmodels/kernelcl.py
- Timestamp:
- Feb 19, 2015 9:42:18 AM (9 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:
- 3a45c2c, 636adb6
- Parents:
- da32ec3 (diff), c749266 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kernelcl.py
rda32ec3 r676351f 33 33 warnings.warn(str(exc)) 34 34 raise RuntimeError("OpenCL not available") 35 36 try: 37 context = cl.create_some_context(interactive=False) 38 del context 39 except cl.RuntimeError, exc: 40 warnings.warn(str(exc)) 41 raise RuntimeError("OpenCl not available") 35 42 36 43 from pyopencl import mem_flags as mf
Note: See TracChangeset
for help on using the changeset viewer.