Changes in / [c48d0c6:7621d5a] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kernelcl.py
rf734e7d r664c8e7 30 30 try: 31 31 import pyopencl as cl 32 except ImportError,exc: 32 context = cl.create_some_context(interactive=False) 33 del context 34 except Exception,exc: 33 35 warnings.warn(str(exc)) 34 36 raise RuntimeError("OpenCL not available") 35 36 try:37 context = cl.create_some_context(interactive=False)38 del context39 except cl.RuntimeError, exc:40 warnings.warn(str(exc))41 raise RuntimeError("OpenCl not available")42 37 43 38 from pyopencl import mem_flags as mf
Note: See TracChangeset
for help on using the changeset viewer.