mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-14 19:31:24 +00:00
dnn/dnn_backend_native_layer_conv2d: Don't pretend convolution can fail
It can't; these are just remnants of commit
3c7cad69f2
which let the worker threads
do the reallocation.
Reviewed-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
9da96d8b69
commit
723ebf029a
@ -180,7 +180,7 @@ static void * dnn_execute_layer_conv2d_thread(void *threadarg)
|
||||
output += conv_params->output_num;
|
||||
}
|
||||
}
|
||||
return (void *)DNN_SUCCESS;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@ -244,7 +244,6 @@ int ff_dnn_execute_layer_conv2d(DnnOperand *operands, const int32_t *input_opera
|
||||
}
|
||||
}
|
||||
|
||||
//join threads, res gets function return
|
||||
for (int i = 0; i < thread_num; i++){
|
||||
pthread_join(thread_param[i].thread, NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user