aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorGil Pitney <gil.pitney@linaro.org>2014-11-19 10:40:13 -0800
committerGil Pitney <gil.pitney@linaro.org>2014-11-19 10:40:13 -0800
commitcc4318ce5886355ad1b06d5489820db6a3a2a044 (patch)
treec3c416f30f92a5ce5983238c458a7fbc9a94471c /TODO
parent54bfc22fee90d751d6e5d6ee89618b303234f6b3 (diff)
clCreateBuffer(): Ensure allocation meets minimum alignment for double16 type
Previously, clCreateBuffer() was using malloc to allocate buffers, which caused havoc with NEON instructions expecting 128 bit alignment for float4 vectors. Now, use posix_memallign() to ensure alignment meets requirements of largest OpenCL data type (double16). Also, update clGetDeviceInfo()'s CL_DEVICE_MEM_BASE_ADDR_ALIGN and CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE accordingly. Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions