aboutsummaryrefslogtreecommitdiffhomepage
path: root/ptx/src/test/spirv_run/mod.rs
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2020-11-05 21:39:34 +0100
committerAndrzej Janik <[email protected]>2020-11-05 21:39:34 +0100
commit8e409254b3f30577a840885f6d7a56b27f4c2611 (patch)
tree163c60d33c90475077a9efffd7011d5c9be760b0 /ptx/src/test/spirv_run/mod.rs
parent96702d86c96ef2d14795a71af43015a8eacd0a94 (diff)
downloadZLUDA-8e409254b3f30577a840885f6d7a56b27f4c2611.tar.gz
ZLUDA-8e409254b3f30577a840885f6d7a56b27f4c2611.zip
Fix same width float-to-float conversions
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 3fa82ba..163caac 100644
--- a/ptx/src/test/spirv_run/mod.rs
+++ b/ptx/src/test/spirv_run/mod.rs
@@ -108,6 +108,7 @@ test_ptx!(sin, [std::f32::consts::PI/2f32], [1f32]);
test_ptx!(cos, [std::f32::consts::PI], [-1f32]);
test_ptx!(lg2, [512f32], [9f32]);
test_ptx!(ex2, [10f32], [1024f32]);
+test_ptx!(cvt_rni, [9.5f32, 10.5f32], [10f32, 10f32]);
struct DisplayError<T: Debug> {
err: T,