[libc-commits] [libc] [libc][gpu] Add fixed point compile options to GPUs' loaders. (PR #81820)

Jan Patrick Lehr via libc-commits libc-commits at lists.llvm.org
Thu Feb 15 00:53:14 PST 2024


================
@@ -7,3 +7,7 @@ target_link_libraries(amdhsa_loader
   gpu_loader
   llvmlibc_rpc_server
 )
+
+if(LIBC_COMPILER_HAS_FIXED_POINT)
+  target_compile_options(amdhsa_loader "-ffixed-point")
----------------
jplehr wrote:

CMake complaint here and I added the `PRIVATE` as in the nvptx case

https://github.com/llvm/llvm-project/pull/81820


More information about the libc-commits mailing list