diff options
author | Andrzej Janik <[email protected]> | 2021-08-08 02:42:38 +0200 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2021-08-08 02:42:38 +0200 |
commit | 043172bd9b425a687f72c52d2fb006a897fd621d (patch) | |
tree | 5c2881a7a3294e9dd9c23949d7a747c3ded636a7 /zluda | |
parent | 5969e59aae85b60657257795af0fcfc5a6b5a017 (diff) | |
download | ZLUDA-043172bd9b425a687f72c52d2fb006a897fd621d.tar.gz ZLUDA-043172bd9b425a687f72c52d2fb006a897fd621d.zip |
Additional options to clang
Diffstat (limited to 'zluda')
-rw-r--r-- | zluda/src/impl/module.rs | 2 |
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") |