diff options
Diffstat (limited to 'nn/runtime/Memory.cpp')
-rw-r--r-- | nn/runtime/Memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nn/runtime/Memory.cpp b/nn/runtime/Memory.cpp index 8f76b76d5..55dca75bb 100644 --- a/nn/runtime/Memory.cpp +++ b/nn/runtime/Memory.cpp @@ -29,7 +29,7 @@ int Memory::create(uint32_t size) { mMemory = mapMemory(mHidlMemory); if (mMemory == nullptr) { LOG(ERROR) << "Memory::create failed"; - return ANEURALNETWORKS_OP_FAILED; + return ANEURALNETWORKS_OUT_OF_MEMORY; } return ANEURALNETWORKS_NO_ERROR; } |