From 043172bd9b425a687f72c52d2fb006a897fd621d Mon Sep 17 00:00:00 2001 From: Andrzej Janik Date: Sun, 8 Aug 2021 02:42:38 +0200 Subject: Additional options to clang --- zluda/src/impl/module.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zluda') 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") -- cgit v1.2.3