Changeset 51cc0eb in sasview for src/sas/sasgui/perspectives
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/gpu_options.py
r58b107f r51cc0eb 244 244 #The same block of code as for OK but it is needed if we want to have 245 245 #active response to Test button 246 no_opencl_msg = False 246 247 if self.sas_opencl: 247 248 os.environ["SAS_OPENCL"] = self.sas_opencl 249 if self.sas_opencl.lower() == "none": 250 no_opencl_msg = True 248 251 else: 249 252 if "SAS_OPENCL" in os.environ: … … 303 306 msg+="All tests passed!\n" 304 307 305 msg +="\n Hardware Details:\n"308 msg +="\nPlatform Details:\n\n" 306 309 msg += "Sasmodels version: " 307 310 msg += info['version']+"\n" 308 311 msg += "\nPlatform used: " 309 312 msg += json.dumps(info['platform'])+"\n" 310 if self.sas_opencl.lower() == "none":313 if no_opencl_msg: 311 314 msg += "\nOpenCL driver: None" 312 315 else:
Note: See TracChangeset
for help on using the changeset viewer.