[Libclc-dev] [PATCH] relational: Implement signbit
Jeroen Ketema
j.ketema at imperial.ac.uk
Wed Jun 25 15:23:18 PDT 2014
<snip>
> There’s also seems to be a deeper problem with this bitcode: The vector of length 3 is written as a vector of length 4. Hence, although the kernel is data race free the bitcode isn’t if the vectors are tightly packed in the array, which seems to be the case given the way the getelementptr is used.
Forget about this. This turned out to be an error in our tool chain we have that builds on libclc. It doesn’t take into account the alignment requirement on vectors of length 3 as stated in Section 6.1.5 of the spec.
Jeroen
More information about the Libclc-dev
mailing list