Provide vstore_half helper to workaround clc restrictions
authorJan Vesely <jan.vesely@rutgers.edu>
Wed, 21 Sep 2016 20:15:55 +0000 (20:15 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Wed, 21 Sep 2016 20:15:55 +0000 (20:15 +0000)
commit0a5aac3fc4298babb8668ca297f32504ce0a7950
treeb62e815c964d1b6e0505cce05efb76c68ed19918
parent9666ba75263d77a130bffa3c866780951bfd3e7f
Provide vstore_half helper to workaround clc restrictions

clang won't accept half precision loads and stores without cl_khr_fp16 since r281904

llvm-svn: 282106
libclc/generic/lib/SOURCES
libclc/generic/lib/shared/vstore.cl
libclc/generic/lib/shared/vstore_half.inc
libclc/generic/lib/shared/vstore_half_helpers.ll [new file with mode: 0644]