OSDN Git Service

[libomptarget][devicertl][nfc] Remove some cuda intrinsics, simplify
authorJon Chesterfield <jonathanchesterfield@gmail.com>
Wed, 20 Jan 2021 19:45:05 +0000 (19:45 +0000)
committerJon Chesterfield <jonathanchesterfield@gmail.com>
Wed, 20 Jan 2021 19:45:05 +0000 (19:45 +0000)
commitea616f9026dc6bd9c67ebe2d3226ac91122a7945
tree3dd28108896a7179b93c29ff342938699e12829c
parentca4ed1e7aeebe21dc3952f84b408805ab17ad63f
[libomptarget][devicertl][nfc] Remove some cuda intrinsics, simplify

[libomptarget][devicertl][nfc] Remove some cuda intrinsics, simplify

Replace __popc, __ffs with clang intrinsics. Move kmpc_impl_min to only file
that uses it and replace template with explictly typed.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D95060
openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
openmp/libomptarget/deviceRTLs/common/src/reduction.cu
openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h