mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-04-20 00:14:45 +00:00
Additional options to clang
This commit is contained in:
parent
5969e59aae
commit
043172bd9b
1 changed files with 2 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue