================ @@ -0,0 +1,11 @@ +// Host-side compilation on x86 (no errors expected). +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -aux-triple nvptx64 -fopenmp -x c -fsyntax-only -verify=host %s + +// Device-side compilation for targets without 128-bit float/complex support (no errors expected). ---------------- jhuber6 wrote:
Offloading languages are basically woefully optimistic about types. They declare all the types to match, which can result in things that are mutually incompatible (i.e. long double giving you fp80 on a GPU which cannot codegen it). There's tons of hacks around stuff like this. https://github.com/llvm/llvm-project/pull/214497 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
