Changeset 40a87fa in sasmodels for sasmodels/kernelcl.py
- Timestamp:
- Aug 8, 2016 9:24:11 AM (8 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:
- 2472141
- Parents:
- 2d65d51
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kernelcl.py
r20317b3 r40a87fa 62 62 cl.create_some_context(interactive=False) 63 63 except Exception as exc: 64 warnings.warn("OpenCL startup failed with ***"+str(exc)+"***; using C compiler instead") 64 warnings.warn("OpenCL startup failed with ***" 65 + str(exc) + "***; using C compiler instead") 65 66 raise RuntimeError("OpenCL not available") 66 67 … … 90 91 91 92 def fix_pyopencl_include(): 93 """ 94 Monkey patch pyopencl to allow spaces in include file path. 95 """ 92 96 import pyopencl as cl 93 97 if hasattr(cl, '_DEFAULT_INCLUDE_OPTIONS'):
Note: See TracChangeset
for help on using the changeset viewer.