This is an archive of the discontinued LLVM Phabricator instance.

[OMPX] Change `thread_dim` to `block_dim` and the original `block_dim` to `grid_dim`
ClosedPublic

Authored by tianshilei1992 on Aug 3 2023, 3:54 PM.

Details

Summary

There is no threadDim in CUDA. Instead, it is blockDim. Then the current
blockDim is gridDim in CUDA.

Diff Detail

Event Timeline

tianshilei1992 created this revision.Aug 3 2023, 3:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2023, 3:54 PM
tianshilei1992 requested review of this revision.Aug 3 2023, 3:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2023, 3:54 PM
jhuber6 accepted this revision.Aug 3 2023, 3:56 PM
This revision is now accepted and ready to land.Aug 3 2023, 3:56 PM