Opencl datahandling
-
Review changes -
-
Download -
Patches
-
Plain diff
Closes #15 (closed)
OpenCL kernels are now integrated in the normal create_kernel
workflow. Also there exists a created a opencljit.init_globally
function that just creates some CL queue/contex if you do not want to give it as a parameter to every kernel.
SerialDatahandling is extended to work with alternative GPU array libraries to PyCuda.
There is now some overlapping code with the _custom_transfer_functions
but I suppose they are for certain quantities that have a separate transfer function as oppose to using a whole different backend.
@kuron can you have a look on it? I think the solution is not as elegant as I thought it would be.
pycuda.gpuarray.GPUArrays are not wrapped. So if you use dh.gpuarrays['foo']
you get either a pycuda array or a opencl array. I thought this step would be to drastic for one PR. Using OpenCL should still be a lot easier now.
Merge request reports
- version 27f9225965
- version 264599fbf6
- version 25d601db96
- version 24e8523f07
- version 2316451a74
- version 22ae05dd41
- version 21421e52a7
- version 20b1c4889f
- version 192bd8fced
- version 18aae0b5d6
- version 1779e33121
- version 16b560624c
- version 15ba3ac96d
- version 1405a2f354
- version 13b50b18e7
- version 12fc5b2f75
- version 110940124f
- version 1052d662c3
- version 9bae823cf
- version 845d9bf5d
- version 72adf1984
- version 6610575ef
- version 5bfb9d231
- version 40a35ee9b
- version 3d26ad826
- version 2491f84ce
- version 1f7c00662
- master (base)
- latest version8548450013 commits,
- version 27f922596515 commits,
- version 264599fbf614 commits,
- version 25d601db9613 commits,
- version 24e8523f0711 commits,
- version 2316451a7411 commits,
- version 22ae05dd4110 commits,
- version 21421e52a710 commits,
- version 20b1c4889f9 commits,
- version 192bd8fced9 commits,
- version 18aae0b5d68 commits,
- version 1779e331218 commits,
- version 16b560624c8 commits,
- version 15ba3ac96d8 commits,
- version 1405a2f3548 commits,
- version 13b50b18e78 commits,
- version 12fc5b2f758 commits,
- version 110940124f6 commits,
- version 1052d662c35 commits,
- version 9bae823cf4 commits,
- version 845d9bf5d2 commits,
- version 72adf19842 commits,
- version 6610575ef2 commits,
- version 5bfb9d2316 commits,
- version 40a35ee9b5 commits,
- version 3d26ad8266 commits,
- version 2491f84ce5 commits,
- version 1f7c006625 commits,