diff options
author | Adrian Kummerlaender | 2020-01-11 00:11:28 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2020-01-11 00:15:08 +0100 |
commit | b5a24f31871d900342a3c47398cc75e22bad0b6f (patch) | |
tree | 5fa2889803d28f21536cbf964eca3850f7a66700 /test.py | |
parent | aa509dd4ebbb9d1d8ad6ebfe05111228fd9ae7c0 (diff) | |
download | boltzgen-b5a24f31871d900342a3c47398cc75e22bad0b6f.tar boltzgen-b5a24f31871d900342a3c47398cc75e22bad0b6f.tar.gz boltzgen-b5a24f31871d900342a3c47398cc75e22bad0b6f.tar.bz2 boltzgen-b5a24f31871d900342a3c47398cc75e22bad0b6f.tar.lz boltzgen-b5a24f31871d900342a3c47398cc75e22bad0b6f.tar.xz boltzgen-b5a24f31871d900342a3c47398cc75e22bad0b6f.tar.zst boltzgen-b5a24f31871d900342a3c47398cc75e22bad0b6f.zip |
Implement SSS for OpenCL target
Sadly OpenCL kernels don't accept pointer-to-pointer arguments which
complicates the control structure implementation.
A workaround is to cast them into `uintptr_t` which is guaranteed to be large
enough to fit any pointer on the device. Special care has to be taken to always
perform the pointer shifts on actual floating point pointers and not on
type-less pointers.
Diffstat (limited to 'test.py')
0 files changed, 0 insertions, 0 deletions