Will Saunders
Will Saunders
I agree that `omp_get_max_threads` should be callable outside a parallel region. I did some more digging with CCE - it strongly objects to OpenMP calls in additional threads: ``` #include...
@tomdeakin Don't suppose there was any news on this?
I had a look though acpp internals and realised my CAS loop alternative was wrong as I was missing the atomic load. It looks like acpp is using a CAS...
I'm probably missing something, this should work and avoid the atomic load? ``` sycl::atomic_ref element_atomic(d_y[0]); REAL expected = std::numeric_limits::max(); REAL desired; do { desired = sycl::min(value, expected); } while (...
Thanks for your input. I can patch the older backends on our end with a CAS loop like above. Introducing the AdaptiveCpp generic backend into the workflow is on my...