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