summaryrefslogtreecommitdiff
path: root/kernels
diff options
context:
space:
mode:
authorLuo Xionghu <xionghu.luo@intel.com>2015-03-09 11:24:28 +0800
committerZhigang Gong <zhigang.gong@intel.com>2015-03-09 16:30:45 +0800
commit961beb9d2751ba8da5c3b166a0b9cec3a82829f0 (patch)
tree00f34ff177df814efeb6e820b34cd44ef8dedf55 /kernels
parent7167b9604217738be9c20f20e891c18f2d7d7f4c (diff)
add utest for load spir binary.
To generate SPIR binary, please refer to the page https://github.com/KhronosGroup/SPIR. For llvm3.2, the command is "clang -cc1 -emit-llvm-bc -triple spir-unknown-unknown -cl-std=CL1.2 -include opencl_spir.h compiler_ceil.cl -o compiler_ceil32.spir" For llvm3.5, the option -cl-kernel-arg-info is required, and option -fno-builtin is required to avoid warning. v2: add missing load_program_from_spir.cpp file. Signed-off-by: Luo Xionghu <xionghu.luo@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'kernels')
-rw-r--r--kernels/compiler_ceil32.spirbin0 -> 1732 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/kernels/compiler_ceil32.spir b/kernels/compiler_ceil32.spir
new file mode 100644
index 00000000..ee648347
--- /dev/null
+++ b/kernels/compiler_ceil32.spir
Binary files differ