aboutsummaryrefslogtreecommitdiffhomepage
path: root/ptx/src/test/spirv_run/mod.rs
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2021-03-03 22:41:47 +0100
committerAndrzej Janik <[email protected]>2021-03-03 22:41:47 +0100
commit17291019e34ecb2f56da007c50a9133718328ef2 (patch)
treed17632aed03d08904da68b7b1e46583eba020386 /ptx/src/test/spirv_run/mod.rs
parentefd91e270c8660a54549e5e843a872a79bf670c3 (diff)
downloadZLUDA-17291019e34ecb2f56da007c50a9133718328ef2.tar.gz
ZLUDA-17291019e34ecb2f56da007c50a9133718328ef2.zip
Implement atomic float add
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 c99de17..c802320 100644
--- a/ptx/src/test/spirv_run/mod.rs
+++ b/ptx/src/test/spirv_run/mod.rs
@@ -155,6 +155,7 @@ test_ptx!(cvt_s64_s32, [-1i32], [-1i64]);
test_ptx!(add_tuning, [2u64], [3u64]);
test_ptx!(add_non_coherent, [3u64], [4u64]);
test_ptx!(sign_extend, [-1i16], [-1i32]);
+test_ptx!(atom_add_float, [1.25f32, 0.5f32], [1.25f32, 1.75f32]);
struct DisplayError<T: Debug> {
err: T,