[all-commits] [llvm/llvm-project] b75a74: [libomptarget] Apply D110029 to amdgpu
Jon Chesterfield via All-commits
all-commits at lists.llvm.org
Thu Sep 30 13:29:54 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b75a7481baad7657b27e54b79fec4f5e6cd4cc7a
https://github.com/llvm/llvm-project/commit/b75a7481baad7657b27e54b79fec4f5e6cd4cc7a
Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
Date: 2021-09-30 (Thu, 30 Sep 2021)
Changed paths:
M openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
Log Message:
-----------
[libomptarget] Apply D110029 to amdgpu
Use enum for execution mode.
This is partly a port from ROCm and partly a port from D110029. Attempted to
make the same choices as ROCm as far as comments etc go to reduce the merge
conflicts.
There is some cleanup warranted here - in particular I like the cuda patch
factoring out the comparisons into named variables - but I'd like to leave
that for a follow up patch, keeping this one minimal.
Reviewed By: carlo.bertolli
Differential Revision: https://reviews.llvm.org/D110845
More information about the All-commits
mailing list