aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2021-08-08 02:42:38 +0200
committerAndrzej Janik <[email protected]>2021-08-08 02:42:38 +0200
commit043172bd9b425a687f72c52d2fb006a897fd621d (patch)
tree5c2881a7a3294e9dd9c23949d7a747c3ded636a7
parent5969e59aae85b60657257795af0fcfc5a6b5a017 (diff)
downloadZLUDA-043172bd9b425a687f72c52d2fb006a897fd621d.tar.gz
ZLUDA-043172bd9b425a687f72c52d2fb006a897fd621d.zip
Additional options to clang
-rw-r--r--zluda/src/impl/module.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/zluda/src/impl/module.rs b/zluda/src/impl/module.rs
index 7fb075c..c586494 100644
--- a/zluda/src/impl/module.rs
+++ b/zluda/src/impl/module.rs
@@ -189,6 +189,8 @@ impl SpirvModule {
let mut compiler_cmd = Command::new(&cland_exe);
compiler_cmd
.arg(format!("-mcpu={}", device_name))
+ .arg("-nogpulib")
+ .arg("-mno-wavefrontsize64")
.arg("-O3")
.arg("-Xlinker")
.arg("--no-undefined")