[all-commits] [llvm/llvm-project] 5275ff: [Clang][HIP] Add LLVM vendored device headers for ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jul 6 14:59:11 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5275ff2efaa9b729aebdfbfc4219f0d109cf03e5
      https://github.com/llvm/llvm-project/commit/5275ff2efaa9b729aebdfbfc4219f0d109cf03e5
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2026-07-06 (Mon, 06 Jul 2026)

  Changed paths:
    M clang/lib/Driver/ToolChains/HIPAMD.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/lib/Headers/CMakeLists.txt
    A clang/lib/Headers/__clang_gpu_builtin_vars.h
    A clang/lib/Headers/__clang_gpu_device_functions.h
    A clang/lib/Headers/__clang_gpu_intrinsics.h
    M clang/test/Driver/hip-device-libs-llvm-env.hip
    A clang/test/Headers/gpu-device-functions.cpp
    M clang/test/Preprocessor/predefined-macros.c

  Log Message:
  -----------
  [Clang][HIP] Add LLVM vendored device headers for `*-llvm` triple (#203980)

Summary:
We already have the `*-llvm` vendor triple to imply a hermetic LLVM
toolchain for HIP. This adds the device portion of the headers that can
be used without a ROCm installation. These are vendored just like the
CUDA ones. Despite being HIP, these are actually generic because it onyl
uses clang builtins and the `gpuintrin` shims.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list