unaligned numpy arrays
Open
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 247
- Avg merge
- 7h 2m
- Merged PRs (30d)
- 6
Description
For FPGA execution of OpenCL kernels, the board expects 64-byte aligned host arrays. However, there seems to be no way to get numpy arrays to obey custom alignments (It seems the inbuilt ALIGNMENT length is 16 or some such). In most cases, this is harmless, but sometimes it cases the FPGA OpenCL kernel to stall/freeze. I'm wondering if there's some way to get PyOpenCL to align buffers on the host prior to transfer?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.