[PATCH] D154822: [clang] Support '-fgpu-default-stream=per-thread' for NVIDIA CUDA

2023-07-12 Thread boxu.zhang via Phabricator via cfe-commits
boxu-zhang added a comment. In D154822#4494287 , @tra wrote: >> Can anyone push this? > > I can help with this. How do you want your commit to be attributed? The patch > currently has `boxu.zhang `. Do you want it to be > changed to something else? Jus

[PATCH] D154822: [clang] Support '-fgpu-default-stream=per-thread' for NVIDIA CUDA

2023-07-11 Thread boxu.zhang via Phabricator via cfe-commits
boxu-zhang added a comment. I don't have the permission to push to main branch. Can anyone push this? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D154822/new/ https://reviews.llvm.org/D154822 ___ cfe-co

[PATCH] D154822: [clang] Support '-fgpu-default-stream=per-thread' for NVIDIA CUDA

2023-07-10 Thread boxu.zhang via Phabricator via cfe-commits
boxu-zhang updated this revision to Diff 538904. boxu-zhang retitled this revision from "Support '-fgpu-default-stream=per-thread' for NVIDIA CUDA" to "[clang] Support '-fgpu-default-stream=per-thread' for NVIDIA CUDA". boxu-zhang added a comment. Add component 'clang' in commit message Reposi

[PATCH] D154822: Support '-fgpu-default-stream=per-thread' for NVIDIA CUDA

2023-07-10 Thread boxu.zhang via Phabricator via cfe-commits
boxu-zhang added a comment. Another point that I don't get is why the libcxx CI failed. Anyone know the reason this message? " Running global pre-checkout hook Preparing working directory Running global post-checkout hook Running commands $ trap 'kill -- $$' INT TERM QUIT; libcxx/utils/ci/generat

[PATCH] D154822: Support '-fgpu-default-stream=per-thread' for NVIDIA CUDA

2023-07-10 Thread boxu.zhang via Phabricator via cfe-commits
boxu-zhang added a comment. In D154822#4485700 , @tra wrote: > Looking at CUDA headers, it appears that changing only > compiler-generated-glue may be insufficient. A lot of other CUDA API calls > need to be changed to `_ptsz` variant and for that we ne

[PATCH] D154822: Support '-fgpu-default-stream=per-thread' for NVIDIA CUDA

2023-07-10 Thread boxu.zhang via Phabricator via cfe-commits
boxu-zhang updated this revision to Diff 538894. boxu-zhang added a comment. Append 'CUDA_API_PER_THREAD_DEFAULT_STREAM' as a defined macro Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D154822/new/ https://reviews.llvm.org/D154822 Files: clang/l

[PATCH] D154822: Support '-fgpu-default-stream=per-thread' for NVIDIA CUDA

2023-07-10 Thread boxu.zhang via Phabricator via cfe-commits
boxu-zhang created this revision. Herald added subscribers: mattd, yaxunl. Herald added a project: All. boxu-zhang requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D154822 File