Opencl Producing Incorrect Calculations
I've been trying to use openCL to do some calculations, but the results are incorrect. I input three float3's that look like this: [300000,0,0] [300000,300000,0] [300000,300000,300
Solution 1:
float3 are 16-byte aligned. See OpenCL 1.1 spec, 6.1.5.
Post a Comment for "Opencl Producing Incorrect Calculations"