aboutsummaryrefslogtreecommitdiffhomepage
path: root/ptx/src/test
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2021-09-13 23:43:50 +0000
committerAndrzej Janik <[email protected]>2021-09-13 23:43:50 +0000
commit986fa49097ef31fcd5eedcc05a624eb57d582ba4 (patch)
tree415dd34dda937d9408c0abfaf2581e3cc92c3994 /ptx/src/test
parentdbb6f09ffa7e9848d4934acc48001b1777f20473 (diff)
downloadZLUDA-986fa49097ef31fcd5eedcc05a624eb57d582ba4.tar.gz
ZLUDA-986fa49097ef31fcd5eedcc05a624eb57d582ba4.zip
Zero out buffer on creation
Diffstat (limited to 'ptx/src/test')
-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 0330d3f..51f1930 100644
--- a/ptx/src/test/spirv_run/mod.rs
+++ b/ptx/src/test/spirv_run/mod.rs
@@ -637,6 +637,7 @@ fn compile_amd(
let mut compiler_cmd = Command::new(&clang_exe);
compiler_cmd
.arg(format!("-mcpu={}", device_name))
+ .arg("-ffp-contract=off")
.arg("-nogpulib")
.arg("-mno-wavefrontsize64")
.arg("-O3")