Skip to content

Commit bda5625

Browse files
committed
[Libomptarget][NFC] Fix unhandled allocator enum value
1 parent 69066ab commit bda5625

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,6 +1398,7 @@ Expected<void *> GenericDeviceTy::dataAlloc(int64_t Size, void *HostPtr,
13981398

13991399
switch (Kind) {
14001400
case TARGET_ALLOC_DEFAULT:
1401+
case TARGET_ALLOC_DEVICE_NON_BLOCKING:
14011402
case TARGET_ALLOC_DEVICE:
14021403
if (MemoryManager) {
14031404
Alloc = MemoryManager->allocate(Size, HostPtr);

0 commit comments

Comments
 (0)