aboutsummaryrefslogtreecommitdiffhomepage
path: root/ptx/src/test/spirv_run/mod.rs
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2021-08-02 01:04:05 +0200
committerAndrzej Janik <[email protected]>2021-08-02 01:04:05 +0200
commitb4de21fbc5eaf33540f1121bfe7c6ba0acaff6c9 (patch)
tree87de1e064acd8889d3f494a4d8e9a1f071e2edaa /ptx/src/test/spirv_run/mod.rs
parent4a71fefb8a3886277dba23a4ae17247bb5e2f2e5 (diff)
downloadZLUDA-b4de21fbc5eaf33540f1121bfe7c6ba0acaff6c9.tar.gz
ZLUDA-b4de21fbc5eaf33540f1121bfe7c6ba0acaff6c9.zip
Use calls to OpenCL builtins when translating sregs, do SPIRV->LLVM conversion on every build
Diffstat (limited to 'ptx/src/test/spirv_run/mod.rs')
-rw-r--r--ptx/src/test/spirv_run/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ptx/src/test/spirv_run/mod.rs b/ptx/src/test/spirv_run/mod.rs
index 226043f..d5bc8dd 100644
--- a/ptx/src/test/spirv_run/mod.rs
+++ b/ptx/src/test/spirv_run/mod.rs
@@ -61,6 +61,7 @@ test_ptx!(block, [1u64], [2u64]);
test_ptx!(local_align, [1u64], [1u64]);
test_ptx!(call, [1u64], [2u64]);
test_ptx!(vector, [1u32, 2u32], [3u32, 3u32]);
+test_ptx!(vector4, [1u32, 2u32, 3u32, 4u32], [4u32]);
test_ptx!(ld_st_offset, [1u32, 2u32], [2u32, 1u32]);
test_ptx!(ntid, [3u32], [4u32]);
test_ptx!(reg_local, [12u64], [13u64]);