We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7395fd commit ce76e24Copy full SHA for ce76e24
1 file changed
python/pyluxcoretest/pyluxcoretest.py
@@ -161,7 +161,10 @@ def PropertiesTests():
161
162
def LuxRaysDeviceTests():
163
print("LuxRays device information example......", flush=True)
164
- deviceList = pyluxcore.GetOpenCLDeviceList()
+ try:
165
+ deviceList = pyluxcore.GetOpenCLDeviceList()
166
+ except RuntimeError as err:
167
+ print(str(err))
168
print("OpenCL device list: %s\n" % str(deviceList), flush=True)
169
170
0 commit comments