[llvm] WIP: [Offload] Add testing for Offload program and kernel related entry points (PR #127803)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 08:07:48 PST 2025


================
@@ -0,0 +1,17 @@
+//===------- Offload API tests - helper for test device code --------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
----------------
jhuber6 wrote:

Another thing to keep in mind: we should be able to detect if the user is building with the `libc` support, meaning we can have unit tests that run entirely on the GPU, or do printing or assertions on the GPU if needed. Likely we'll want that when we start fixing up the Device runtime, but not necessarily relevant here.

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


More information about the llvm-commits mailing list