An error occurred while fetching the assigned milestone of the selected merge_request.
Run opencl without pycuda
Fix #15 (closed)
This includes !76 (merged).
If anyone wants to use textures on OpenCL, we need to decouple TextureInterpolatedField
from CUDA.
Edited by Stephan Seitz
Merge request reports
Activity
Filter activity
added 1 commit
- e9605ab2 - Skip OpenCL tests that require pycuda if pycuda is not installed
Hi. I'll skip the tests if pycuda is not installed.
I first compared against numpy but
assert np.allequal
failed with a small error (about 1e-5). I could have increased the epsilon but found that the error is almost zero if the code runs on the same device (CUDA vs OpenCL).So the comparision with CUDA is just a random coincidence when we quickly assembled the OpenCL backend to show a student how pystencils works.
Edited by Stephan Seitzmentioned in commit 09a59f7f
Please register or sign in to reply