Commit ab5ed66c authored by Charron Maxime's avatar Charron Maxime
Browse files

Ajout de comparaisons

parent 3b6f8b38
==============================================================================
RUN
==============================================================================
Loaded : image ./img/beach.png: 259x195
Done in 0.011840 seconds
Loaded : image ./img/goat.png: 68x80
Done in 0.002010 seconds
Nombre de coeur pour la version parallele : 2
============================================
CPU
============================================
Convert input to grey
Done in 0.000486 seconds
Convert search to grey
Done in 0.000053 seconds
Calculate difference
Done in 0 minutes 4.537045 seconds
Best compatibily find at x=22 and y=93 (24109) with a difference of 21
Done in 0.000084 seconds
Save picture with red box
Done in 0.000077 seconds
Picture saved : img/output/final_cpu.png
======================================================
The CPU took 0 minutes 4.627865 seconds to execute
============================================
OPEN MP (version simple)
============================================
Convert input to grey
Done in 0.000342 seconds
Convert search to grey
Done in 0.000031 seconds
Calculate difference
Done in 0 minutes 2.253626 seconds
Best compatibily find at x=22 and y=93
Done in 0.000095 seconds
Save picture with red box
Done in 0.000028 seconds
Picture saved : img/output/final_gpu_simple.png
======================================================
The OPEN MP part took 0 minutes 2.305311 seconds to execute
============================================
OPEN MP (version tableau)
============================================
Convert input to grey
Done in 0.000283 seconds
Convert search to grey
Done in 0.000031 seconds
Done in 0 minutes 2.300875 seconds
Save picture with red box
Done in 0.000031 seconds
Picture saved : img/output/final_gpu_tableau.png
======================================================
The OPEN MP part took 0 minutes 2.335911 seconds to execute
============================================
OPEN MP (version task)
============================================
Convert input to grey
Done in 0.000165 seconds
Convert search to grey
Done in 0.000029 seconds
Calculate difference
Done in 0 minutes 2.235073 seconds
Best compatibily find at x=22 and y=93
Done in 0.000183 seconds
Save picture with red box
Done in 0.000031 seconds
Picture saved : img/output/final_gpu_task.png
======================================================
The OPEN MP part took 0 minutes 2.279037 seconds to execute
The program took 0 minutes 11.548230 seconds to execute
Good bye!
=============================================================================
RUN
==============================================================================
Loaded : image ./img/jungle.png: 820x532
Done in 0.079701 seconds
Loaded : image ./img/goat.png: 68x80
Done in 0.001220 seconds
Nombre de coeur pour la version parallele : 2
============================================
CPU
============================================
Convert input to grey
Done in 0.001964 seconds
Convert search to grey
Done in 0.000024 seconds
Calculate difference
Done in 1 minutes 6.478523 seconds
Best compatibily find at x=664 and y=81 (67084) with a difference of 9
Done in 0.000891 seconds
Save picture with red box
Done in 0.000561 seconds
Picture saved : img/output/final_cpu.png
======================================================
The CPU took 1 minutes 6.971970 seconds to execute
============================================
OPEN MP (version simple)
============================================
Convert input to grey
Done in 0.002524 seconds
Convert search to grey
Done in 0.000031 seconds
Calculate difference
Done in 0 minutes 35.196613 seconds
Best compatibily find at x=664 and y=81
Done in 0.000888 seconds
Save picture with red box
Done in 0.000155 seconds
Picture saved : img/output/final_gpu_simple.png
======================================================
The OPEN MP part took 0 minutes 35.500565 seconds to execute
============================================
OPEN MP (version tableau)
============================================
Convert input to grey
Done in 0.001176 seconds
Convert search to grey
Done in 0.000016 seconds
Done in 0 minutes 34.879803 seconds
Save picture with red box
Done in 0.000184 seconds
Picture saved : img/output/final_gpu_tableau.png
======================================================
The OPEN MP part took 0 minutes 35.204727 seconds to execute
============================================
OPEN MP (version task)
============================================
Convert input to grey
Done in 0.001272 seconds
Convert search to grey
Done in 0.000019 seconds
Calculate difference
Done in 0 minutes 34.319824 seconds
Best compatibily find at x=664 and y=81
Done in 0.000927 seconds
Save picture with red box
Done in 0.000202 seconds
Picture saved : img/output/final_gpu_task.png
======================================================
The OPEN MP part took 0 minutes 34.690971 seconds to execute
The program took 2 minutes 52.368286 seconds to execute
Good bye!
==============================================================================
RUN
==============================================================================
Loaded : image ./img/goats.png: 1920x1080
Done in 0.230207 seconds
Loaded : image ./img/goat.png: 68x80
Done in 0.002764 seconds
============================================
CPU
============================================
Convert input to grey
Done in 0.009149 seconds
Convert search to grey
Done in 0.000038 seconds
Calculate difference
Done in 5 minutes 46.586273 seconds
Best compatibily find at x=1028 and y=860 (1652228) with a difference of 32
Done in 0.004693 seconds
Save picture with red box
Done in 0.002939 seconds
Picture saved : img/output/final_cpu.png
======================================================
The CPU took 5 minutes 47.447113 seconds to execute
============================================
OPEN MP (version simple)
============================================
Convert input to grey
Done in 0.005215 seconds
Convert search to grey
Done in 0.000041 seconds
Calculate difference
Done in 1 minutes 33.084625 seconds
Best compatibily find at x=1028 and y=860
Done in 0.004841 seconds
Save picture with red box
Done in 0.000482 seconds
Picture saved : img/output/final_gpu_simple.png
======================================================
The OPEN MP part took 1 minutes 33.758217 seconds to execute
============================================
OPEN MP (version tableau)
============================================
Convert input to grey
Done in 0.005161 seconds
Convert search to grey
Done in 0.000023 seconds
Done in 1 minutes 35.087929 seconds
Save picture with red box
Done in 0.000520 seconds
Picture saved : img/output/final_gpu_tableau.png
======================================================
The OPEN MP part took 1 minutes 35.686630 seconds to execute
============================================
OPEN MP (version task)
============================================
Convert input to grey
Done in 0.003022 seconds
Convert search to grey
Done in 0.000010 seconds
Calculate difference
Done in 1 minutes 31.010963 seconds
Best compatibily find at x=1028 and y=860
Done in 0.004837 seconds
Save picture with red box
Done in 0.005055 seconds
Picture saved : img/output/final_gpu_task.png
======================================================
The OPEN MP part took 1 minutes 31.620468 seconds to execute
The program took 10 minutes 28.512512 seconds to execute
Good bye!
img/output/final_gpu_v1.png

1.19 MB | W: | H:

img/output/final_gpu_v1.png

3.81 MB | W: | H:

img/output/final_gpu_v1.png
img/output/final_gpu_v1.png
img/output/final_gpu_v1.png
img/output/final_gpu_v1.png
  • 2-up
  • Swipe
  • Onion skin
/* stb_image - v2.23 - public domain image loader - http://nothings.org/stb
no warranty implied; use at your own risk
......
......@@ -43,8 +43,10 @@ int main (int argc, char *argv[])
printf("Done in \033[0;32m %f \033[0m seconds\n", omp_get_wtime() - init_search);
int nb = 2;
printf("Nombre de coeur pour la version parallele : %d\n", nb);
omp_set_num_threads(nb);
......@@ -111,11 +113,6 @@ int main (int argc, char *argv[])
// ============================================================================================================
printf("\n\n============================================\n");
printf("\tOPEN MP (version simple)\n");
......
No preview for this file type
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment