pyopencl
pyopencl copied to clipboard
OpenCL integration for Python, plus shiny features
Merging into #452
Draft because it's missing: - [ ] Tests - [ ] Ensure that SVM allocators can't be passed to buffer mem pool and vice versa. - [ ] A memory...
The `fill_normal()` method gives `inf` values sometimes, probably because the random generators sometimes yield zeros especially with 32 bit floats. The logarithm in Box-Muller then causes the infinity. The following...
As of 319778c23d180b731ebddc4c546b8d1325b2c218: ``` 40 failed, 204 passed, 20 skipped, 6 xfailed, 74 warnings in 137.08s (0:02:17) ```
The `type` cannot be hinted properly in IDEs. e.g ``` import pyopencl as cl import pyopencl.cltypes N = 10 HOST_myArray = np.array([cl.cltypes.make_float4(1, 0, 0, 0)] * N, dtype=cl.cltypes.float4) ``` The...
add double precision for * `maxiter`: ushort(16) -> uint(32) * `output`: ushort(16) -> uint(32) * `z`, `q`: complex64 -> complex128 * `real`, `nreal`, `imag`: float -> double works fine here
Surprisingly, this is mostly working now. :) To do/Needs: - [x] ~~Pass location of numpy headers to CMake~~ (found via CMake now) - [x] ~~Pass OpenCL config info to CMake~~...
**Describe the bug** When `pyopencl[pocl]` is installed in a virtual environment on a system with no other OpenCL drivers, the POCL ICD is not found. It's necessary to set the...