Sergey Maydanov
Sergey Maydanov
I checked with OpenMP experts. They recommend to check the presence of the `omp_set_max_active_levels` symbol on `dlopen()` (Linux, OSX)/`LoadLibrary()` (Windows). On Linux & OSX you can do this with `dlsym()`...
```` @ndpex.kernel() def kernel_polynomial(x, y): c = ndpex.private.array(DEGREE+1, dtype=float32) z = ndpex.private.array(1, dtype=float32) lid = ndpex.get_local_id(0) c = COEFFICIENTS[lid] # Each work group works with own cubic polynomial for i...
Thank you for catching this. Will get it updated