Skip to content
Snippets Groups Projects
Commit f3a7c3ab authored by Ayoub Boughourfi's avatar Ayoub Boughourfi
Browse files

last update

parent 6f32ff07
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include "utils/graphgenerator.h" #include "utils/graphgenerator.h"
#include "utils/performancetest.h" #include "utils/performancetest.h"
// Funktion für CPU vs. OpenMP vs. CUDA Vergleich
void runComparisonTest(int size, int numThreads) { void runComparisonTest(int size, int numThreads) {
std::cout << "\n============================================================" << std::endl; std::cout << "\n============================================================" << std::endl;
std::cout << "TEST: Graph Size " << size << " with " << numThreads << " threads" << std::endl; std::cout << "TEST: Graph Size " << size << " with " << numThreads << " threads" << std::endl;
...@@ -142,13 +141,11 @@ int main() { ...@@ -142,13 +141,11 @@ int main() {
return 1; return 1;
} }
// Verschiedene Graphgrößen testen // Verschiedene Graphgrößen testen bis 4096
runComparisonTest(100, omp_get_max_threads()); // Klein for (int i = 8; i <= 4096; i *= 2)
runComparisonTest(500, omp_get_max_threads()); // Mittel {
runComparisonTest(1000, omp_get_max_threads()); // Groß runComparisonTest(i, omp_get_max_threads());
}
// Sehr große Graphen - optional
// runComparisonTest(2000, omp_get_max_threads());
std::cout << "\n============================================================"; std::cout << "\n============================================================";
std::cout << "\n TEST COMPLETE"; std::cout << "\n TEST COMPLETE";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment