Hello to everyone,
i have a C++ / OpenGL code that has 3 for loops that read in a 3d Image. I want to paralelize these 3 for loops using OpenMP. Although i do not know how to enable OpenMP on Xcode. Some say it is ON by default , some say there is an option in the Build Setting that i should find(but i cannot find).
Currently i do not include the omp.h header file and i add "#pragma omp parallel for " before each loop and the compiler doesn't give any errors and i can run the program and see the result.
Does anyone know if what i am doing now actually works or if have to do something more?
Thanks a lot
i have a C++ / OpenGL code that has 3 for loops that read in a 3d Image. I want to paralelize these 3 for loops using OpenMP. Although i do not know how to enable OpenMP on Xcode. Some say it is ON by default , some say there is an option in the Build Setting that i should find(but i cannot find).
Currently i do not include the omp.h header file and i add "#pragma omp parallel for " before each loop and the compiler doesn't give any errors and i can run the program and see the result.
Does anyone know if what i am doing now actually works or if have to do something more?
Thanks a lot