[all-commits] [llvm/llvm-project] 27e6e4: [CUDA][HIP] make trivial ctor/dtor host device (#7...
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Thu Nov 16 05:43:11 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 27e6e4a4d0e3296cebad8db577ec0469a286795e
https://github.com/llvm/llvm-project/commit/27e6e4a4d0e3296cebad8db577ec0469a286795e
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2023-11-16 (Thu, 16 Nov 2023)
Changed paths:
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaCUDA.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/test/SemaCUDA/call-host-fn-from-device.cu
M clang/test/SemaCUDA/default-ctor.cu
M clang/test/SemaCUDA/implicit-member-target-collision-cxx11.cu
M clang/test/SemaCUDA/implicit-member-target-collision.cu
M clang/test/SemaCUDA/implicit-member-target-inherited.cu
M clang/test/SemaCUDA/implicit-member-target.cu
A clang/test/SemaCUDA/trivial-ctor-dtor.cu
Log Message:
-----------
[CUDA][HIP] make trivial ctor/dtor host device (#72394)
Make trivial ctor/dtor implicitly host device functions so that they can
be used to initialize file-scope
device variables to match nvcc behavior.
Fixes: https://github.com/llvm/llvm-project/issues/72261
Fixes: SWDEV-432412
More information about the All-commits
mailing list