Currently clang does not consider host/device preference when resolving delete operator in the file scope, which causes device operator delete selected for class member initialization.
Details
Details
- Reviewers
tra - Commits
- rG247cc265e74e: [CUDA][HIP] Fix overloading resolution of delete operator
Summary
Diff Detail
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Aug 7 2023, 1:52 PM
Closed by commit rG247cc265e74e: [CUDA][HIP] Fix overloading resolution of delete operator (authored by yaxunl). · Explain WhyAug 8 2023, 6:51 AM
This revision was automatically updated to reflect the committed changes.