Skip to content

Critical sections

Simon Moll edited this page Dec 13, 2017 · 4 revisions

RV natively supports critical sections. Outline the critical section in the region into a function and pass that function to rv::MarkAsCriticalSection(sectionFunc). In the vectorized code, sectionFunc will be called for each active SIMD lane (SIMD thread) sequentially.

Clone this wiki locally