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

last update

parent 6f32ff07
Branches
No related tags found
No related merge requests found
......@@ -17,7 +17,6 @@
#include "utils/graphgenerator.h"
#include "utils/performancetest.h"
// Funktion für CPU vs. OpenMP vs. CUDA Vergleich
void runComparisonTest(int size, int numThreads) {
std::cout << "\n============================================================" << std::endl;
std::cout << "TEST: Graph Size " << size << " with " << numThreads << " threads" << std::endl;
......@@ -142,13 +141,11 @@ int main() {
return 1;
}
// Verschiedene Graphgrößen testen
runComparisonTest(100, omp_get_max_threads()); // Klein
runComparisonTest(500, omp_get_max_threads()); // Mittel
runComparisonTest(1000, omp_get_max_threads()); // Groß
// Sehr große Graphen - optional
// runComparisonTest(2000, omp_get_max_threads());
// Verschiedene Graphgrößen testen bis 4096
for (int i = 8; i <= 4096; i *= 2)
{
runComparisonTest(i, omp_get_max_threads());
}
std::cout << "\n============================================================";
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