diff --git a/machine_learning/kohonen_som.c b/machine_learning/kohonen_som.c index 0c58ee93..7c82f951 100644 --- a/machine_learning/kohonen_som.c +++ b/machine_learning/kohonen_som.c @@ -12,7 +12,7 @@ #include #include #include -#ifdef _OPENMP +#ifdef _OPENMP // check if OpenMP based parallellization is available #include #endif @@ -337,6 +337,11 @@ void test2() /** Main function */ int main(int argc, char **argv) { +#ifdef _OPENMP + printf("Using OpenMP based parallelization\n"); +#else + printf("NOT using OpenMP based parallelization\n"); +#endif test1(); test2(); return 0;