mirror of
https://github.com/augustin64/projet-tipe
synced 2025-01-23 15:16:26 +01:00
test/cnn_convolution: update to newer function
This commit is contained in:
parent
329e213e1f
commit
e587261e4d
@ -140,7 +140,7 @@ void run_convolution_test(int input_width, int output_width, int rows, int colum
|
|||||||
double cpu_time_used, gpu_time_used;
|
double cpu_time_used, gpu_time_used;
|
||||||
|
|
||||||
start_time = omp_get_wtime();
|
start_time = omp_get_wtime();
|
||||||
make_convolution_device(kernel, input, output_gpu, output_width, 1);
|
make_convolution_device(kernel, input, output_gpu, output_width, 1, 0);
|
||||||
end_time = omp_get_wtime();
|
end_time = omp_get_wtime();
|
||||||
|
|
||||||
|
|
||||||
@ -149,7 +149,7 @@ void run_convolution_test(int input_width, int output_width, int rows, int colum
|
|||||||
|
|
||||||
|
|
||||||
start_time = omp_get_wtime();
|
start_time = omp_get_wtime();
|
||||||
make_convolution_cpu(kernel, input, output_cpu, output_width, 1);
|
make_convolution_cpu(kernel, input, output_cpu, output_width, 1, 0);
|
||||||
end_time = omp_get_wtime();
|
end_time = omp_get_wtime();
|
||||||
|
|
||||||
cpu_time_used = end_time - start_time;
|
cpu_time_used = end_time - start_time;
|
||||||
|
Loading…
Reference in New Issue
Block a user