diff options
author | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2019-12-17 01:30:04 +0000 |
---|---|---|
committer | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2019-12-17 01:30:04 +0000 |
commit | 53bcd1e1413c878d2d988df80142a430a9abf24a (patch) | |
tree | e9d898437f380733c880212edacba2be66368def /lldb/packages/Python/lldbsuite/test/lang/c | |
parent | 7a31678b71465da7e6a69bb3d1987823f41589d6 (diff) | |
download | bcm5719-llvm-53bcd1e1413c878d2d988df80142a430a9abf24a.tar.gz bcm5719-llvm-53bcd1e1413c878d2d988df80142a430a9abf24a.zip |
[libomptarget][nfc] Wrap cuda min() in target_impl
Summary:
[libomptarget][nfc] Wrap cuda min() in target_impl
nvptx forwards to cuda min, amdgcn implements directly.
Sufficient to build parallel.cu for amdgcn, added to CMakeLists.
All call sites are homogenous except one that passes a uint32_t and an
int32_t. This could be smoothed over by taking two type parameters
and some care over the return type, but overall I think the inline
<uint32_t> calling attention to what was an implicit sign conversion
is cleaner.
Reviewers: ABataev, jdoerfert
Reviewed By: jdoerfert
Subscribers: jvesely, mgorny, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D71580
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/c')
0 files changed, 0 insertions, 0 deletions