aboutsummaryrefslogtreecommitdiffhomepage
path: root/ptx/src/test/spirv_run/mod.rs
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2021-09-14 22:41:46 +0200
committerAndrzej Janik <[email protected]>2021-09-14 22:41:46 +0200
commit2cd0fcb65066cd4cddef66900593dc883743bc68 (patch)
tree80223e5b421f5c79dd15da8510d6a80b54d0ba17 /ptx/src/test/spirv_run/mod.rs
parent986fa49097ef31fcd5eedcc05a624eb57d582ba4 (diff)
downloadZLUDA-2cd0fcb65066cd4cddef66900593dc883743bc68.tar.gz
ZLUDA-2cd0fcb65066cd4cddef66900593dc883743bc68.zip
Parse and test const buffers
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 51f1930..13cf0f1 100644
--- a/ptx/src/test/spirv_run/mod.rs
+++ b/ptx/src/test/spirv_run/mod.rs
@@ -203,6 +203,7 @@ test_ptx!(
);
test_ptx!(non_scalar_ptr_offset, [1u32, 2u32, 3u32, 4u32], [7u32]);
test_ptx!(stateful_neg_offset, [1237518u64], [1237518u64]);
+test_ptx!(const, [0u16], [10u16, 20, 30, 40]);
struct DisplayError<T: Debug> {
err: T,