[Libomptarget][NFC] Fix unhandled allocator enum value

This commit is contained in:
Joseph Huber 2024-01-08 10:02:44 -06:00
parent 69066ab319
commit bda562519b

View File

@ -1398,6 +1398,7 @@ Expected<void *> GenericDeviceTy::dataAlloc(int64_t Size, void *HostPtr,
switch (Kind) {
case TARGET_ALLOC_DEFAULT:
case TARGET_ALLOC_DEVICE_NON_BLOCKING:
case TARGET_ALLOC_DEVICE:
if (MemoryManager) {
Alloc = MemoryManager->allocate(Size, HostPtr);