[libomptarget] Drop assert.h, use freestanding for amdgcn devicertl
authorJon Chesterfield <jonathanchesterfield@gmail.com>
Mon, 15 Mar 2021 18:50:09 +0000 (18:50 +0000)
committerJon Chesterfield <jonathanchesterfield@gmail.com>
Mon, 15 Mar 2021 18:50:09 +0000 (18:50 +0000)
commitf675b3df4848bae5a8203c2508b721b41086471f
treee32681ee3c370b52c62443c40aa03e0a9dca29f0
parent018e96f71ff2d1617aff1ed1abd9c8ad61faf87d
[libomptarget] Drop assert.h, use freestanding for amdgcn devicertl

[libomptarget] Drop assert.h, use freestanding for amdgcn devicertl

Promotes the runtime assert to a link time error for the unimplemented
fallback functions. Enables amdgcn to build with only clang provided
headers, which makes it less likely to break other builds when enabled.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D98649
openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
openmp/libomptarget/deviceRTLs/common/include/target/shuffle.h