|
|
@@ -226,7 +226,7 @@ class MemManager { |
|
|
|
|
|
|
|
// Usually impossible |
|
|
|
if (allocator == nullptr) { |
|
|
|
GELOGE(ge::INTERNAL_ERROR, "Get allocator failed, memory type is %u.", memory_type); |
|
|
|
GELOGW("Get allocator failed, memory type is %u.", memory_type); |
|
|
|
static T default_allocator(RT_MEMORY_RESERVED); |
|
|
|
return default_allocator; |
|
|
|
} |
|
|
|