[clang] [Clang] Correctly enable the f16 type for offloading (PR #98331)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 10 10:48:44 PDT 2024


================
@@ -0,0 +1,117 @@
+// REQUIRES: nvptx-registered-target
+//
+// RUN: %clang_cc1 -ffp-contract=off -triple nvptx-unknown-unknown -target-cpu \
+// RUN:   sm_86 -target-feature +ptx72 -fcuda-is-device -x cuda -emit-llvm -o - %s \
----------------
arsenm wrote:

I assume you don't need the target-feature or target-cpu 

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


More information about the cfe-commits mailing list