Changeset 9fac5f5 in sasmodels
- Timestamp:
- Mar 30, 2019 9:40:41 PM (6 years ago)
- Branches:
- master
- Children:
- 8ed04ff, 1423ddb
- Parents:
- e15a822
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kernelcl.py
ra34b811 r9fac5f5 158 158 ENV = None 159 159 def reset_environment(): 160 # type: () -> None161 """ 162 Call to createa new OpenCL context, such as after a change to SAS_OPENCL.160 # type: () -> "GpuEnvironment" 161 """ 162 Return a new OpenCL context, such as after a change to SAS_OPENCL. 163 163 """ 164 164 global ENV 165 165 ENV = GpuEnvironment() if use_opencl() else None 166 166 return ENV 167 167 168 168 def environment():
Note: See TracChangeset
for help on using the changeset viewer.