[all-commits] [llvm/llvm-project] 0bb987: Revert "[CUDA][HIP] Fix CTAD for host/device const...

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Tue Dec 2 12:43:17 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0bb987f4091083d1d8637d1880ecd918ab76793e
      https://github.com/llvm/llvm-project/commit/0bb987f4091083d1d8637d1880ecd918ab76793e
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2025-12-02 (Tue, 02 Dec 2025)

  Changed paths:
    M clang/docs/HIPSupport.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaCUDA.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaTemplateDeductionGuide.cpp
    R clang/test/SemaCUDA/deduction-guide-attrs.cu
    R clang/test/SemaCUDA/deduction-guide-overload.cu
    R clang/test/SemaCUDA/deduction-guide.cu

  Log Message:
  -----------
  Revert "[CUDA][HIP] Fix CTAD for host/device constructors (#168711)"

This reverts commit e719e93d4157edfad17e9bf40670decc158470c4.

revert this since it caused regression in our internal CI.

Deduction guide with host/device attrs have already been
used in

https://github.com/ROCm/rocm-libraries/blob/develop/projects/rocrand/library/src/rng/utils/cpp_utils.hpp#L249

```
template<class V>
__host__ __device__ vec_wrapper(V) -> vec_wrapper<V>;
```



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