Skip to content
Snippets Groups Projects
Commit f3d0bae8 authored by Jean-Baptiste Keck's avatar Jean-Baptiste Keck
Browse files

testenv

parent 23799d9f
No related branches found
No related tags found
1 merge request!3Resolve "Sine and cosine transforms to solve homogeneous Neumann and Dirichlet problems"
...@@ -75,7 +75,7 @@ if __HAS_OPENCL_BACKEND__: ...@@ -75,7 +75,7 @@ if __HAS_OPENCL_BACKEND__:
If __ENABLE_LONG_TESTS__ is False, just yield the default OpenCl If __ENABLE_LONG_TESTS__ is False, just yield the default OpenCl
environment. environment.
""" """
all_platforms = first_not_None(all_platforms, __ENABLE_LONG_TESTS__) all_platforms = first_not_None(all_platforms, __TEST_ALL_OPENCL_PLATFORMS__)
if isinstance(device_type, str): if isinstance(device_type, str):
if (device_type=='cpu'): if (device_type=='cpu'):
device_type = cl.device_type.CPU device_type = cl.device_type.CPU
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment