[clang] [CIR][AMDGPU] Route printf in device code through the OpenCL runtime (PR #226435)

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 28 05:06:30 PDT 2026


================
@@ -0,0 +1,65 @@
+// REQUIRES: amdgpu-registered-target
+// RUN: %clang_cc1 -triple=amdgpu9.0a-amd-amdhsa -x hip -std=c++11 \
+// RUN: -fcxx-exceptions -fexceptions \
----------------
Fznamznon wrote:

Are these flags required?
```suggestion
```

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


More information about the cfe-commits mailing list