|
|
@@ -4515,7 +4515,7 @@ void DavinciModel::UpdateOpIOAddrs(uint32_t task_id, uint32_t stream_id, const s |
|
|
|
/// @return Status |
|
|
|
/// |
|
|
|
Status DavinciModel::GetTotalMemSizeExcludeZeroCopy(int64_t &total_useful_size) { |
|
|
|
if (runtime_param_.mem_size < runtime_param_.zero_copy_size) { |
|
|
|
if (runtime_param_.mem_size < static_cast<uint64_t>(runtime_param_.zero_copy_size)) { |
|
|
|
REPORT_CALL_ERROR("E19999", "total mem size[%lu] is less than zero copy size[%ld] ", runtime_param_.mem_size, |
|
|
|
runtime_param_.zero_copy_size); |
|
|
|
GELOGE(FAILED, "[Check][TotalMemSizeExcludeZeroCopy] failed, total mem size[%lu] is less than zero copy size[%ld]", |
|
|
|