diff options
author | Luo Xionghu <xionghu.luo@intel.com> | 2015-03-09 11:24:28 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2015-03-09 16:30:45 +0800 |
commit | 961beb9d2751ba8da5c3b166a0b9cec3a82829f0 (patch) | |
tree | 00f34ff177df814efeb6e820b34cd44ef8dedf55 /kernels | |
parent | 7167b9604217738be9c20f20e891c18f2d7d7f4c (diff) | |
download | beignet-961beb9d2751ba8da5c3b166a0b9cec3a82829f0.tar.gz |
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.spir | bin | 0 -> 1732 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/kernels/compiler_ceil32.spir b/kernels/compiler_ceil32.spir Binary files differnew file mode 100644 index 00000000..ee648347 --- /dev/null +++ b/kernels/compiler_ceil32.spir |