Fixed several issues with the patch from typos to actual coding errors. There are still compile warnings but at least it compiles.
OpenCL Patch for HYP primitive
ARBN patch with OpenCL changes
OpenCL code for HYP primitive
OpenCL code for ARBN primitive
OpenCL code for HYP primitive
OpenCL code for SUPERELL primitive
This patch does not allocate or pass the pipe data properly. Neither does the other PIPE patch. I will give you a clue. You can't pass pointers to OpenCL. This might work if you run on a CPU with shared memory. But on a GPU with a separate memory addressing space it will fail hard. You need to serialize the data structure and pass it to the OpenCL compute device.