mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-17 00:10:28 +00:00
[Libomptarget][NFC] Fix unhandled allocator enum value
This commit is contained in:
parent
69066ab319
commit
bda562519b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user