replace openmp with thread-pool library bc openmp has larger fork boundary overhead
This commit is contained in:
@ -8,9 +8,6 @@
|
||||
#include "renderer.hpp"
|
||||
#include "state.hpp"
|
||||
|
||||
#ifndef WEB
|
||||
#include <omp.h>
|
||||
#endif
|
||||
#ifdef PRINT_TIMINGS
|
||||
#include <chrono>
|
||||
#include <ratio>
|
||||
@ -33,10 +30,6 @@ auto main(int argc, char *argv[]) -> int {
|
||||
// return 1;
|
||||
// }
|
||||
|
||||
#ifndef WEB
|
||||
std::cout << "OpenMP: " << omp_get_max_threads() << " threads." << std::endl;
|
||||
#endif
|
||||
|
||||
// RayLib window setup
|
||||
SetTraceLogLevel(LOG_ERROR);
|
||||
// SetConfigFlags(FLAG_VSYNC_HINT);
|
||||
|
||||
Reference in New Issue
Block a user