aboutsummaryrefslogtreecommitdiffhomepage
path: root/ptx/src/test/spirv_run/mod.rs
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2021-07-03 02:13:38 +0200
committerAndrzej Janik <[email protected]>2021-07-03 02:13:38 +0200
commitad2059872a43315ecb5361db1ab2c74d55363fae (patch)
tree8229288f9b6f67134d33db4666dc21d51edee20e /ptx/src/test/spirv_run/mod.rs
parente328ecc55072bb3f871b3f27982573a0f1931e65 (diff)
downloadZLUDA-ad2059872a43315ecb5361db1ab2c74d55363fae.tar.gz
ZLUDA-ad2059872a43315ecb5361db1ab2c74d55363fae.zip
Regenerate SPIR-V for ptx_impl and fix weird handling of ptr-ptr add or sub
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 ff48ae9..4f8b252 100644
--- a/ptx/src/test/spirv_run/mod.rs
+++ b/ptx/src/test/spirv_run/mod.rs
@@ -181,6 +181,7 @@ test_ptx!(
[0u32, 0u32, 0u32, 2u32]
);
test_ptx!(non_scalar_ptr_offset, [1u32, 2u32, 3u32, 4u32], [7u32]);
+test_ptx!(stateful_neg_offset, [1237518u64], [1237518u64]);
struct DisplayError<T: Debug> {
err: T,