[Offload] Fix level_zero plugin build (#175664)
Build has been broken when OMPTARGET_DEBUG is undefined.
This commit is contained in:
parent
5c764b4e3c
commit
496729fe7e
@ -16,7 +16,6 @@
|
||||
|
||||
namespace llvm::omp::target::plugin {
|
||||
|
||||
#if OMPTARGET_DEBUG
|
||||
static const char *AllocKindToStr(int32_t Kind) {
|
||||
switch (Kind) {
|
||||
case TARGET_ALLOC_DEVICE:
|
||||
@ -29,7 +28,6 @@ static const char *AllocKindToStr(int32_t Kind) {
|
||||
return "DEFAULT";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void *MemAllocatorTy::MemPoolTy::BlockTy::alloc() {
|
||||
if (isFull())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user