|
|
@@ -165,7 +165,7 @@ FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY Status SingleOp::ExecuteAsync(c |
|
|
|
return ret; |
|
|
|
} |
|
|
|
|
|
|
|
int index = 0; |
|
|
|
uint32_t index = 0; |
|
|
|
for (auto &task : tasks_) { |
|
|
|
ret = task->LaunchKernel(stream_); |
|
|
|
if (ret != SUCCESS) { |
|
|
@@ -180,7 +180,7 @@ FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY Status SingleOp::ExecuteAsync(c |
|
|
|
return ret; |
|
|
|
} |
|
|
|
|
|
|
|
Status SingleOp::ProfilingTaskInfo(int index) { |
|
|
|
Status SingleOp::ProfilingTaskInfo(uint32_t index) { |
|
|
|
if (op_name_.size() <= index) { |
|
|
|
GELOGE(ACL_ERROR_GE_PARAM_INVALID, "index[%d] is out of range of op_name_ size[%d].", index, op_name_.size()); |
|
|
|
return ACL_ERROR_GE_PARAM_INVALID; |
|
|
|