Skip to content

Commit

Permalink
[Libomptarget][NFC] Fix unhandled allocator enum value
Browse files Browse the repository at this point in the history
  • Loading branch information
jhuber6 committed Jan 8, 2024
1 parent 69066ab commit bda5625
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bda5625

Please sign in to comment.