Critical directives

I have a question regarding future improvements on the accelerator directives. Right now, there’s no a directive that allows to create segments on the acc region where only a thread can get in at a time (similar to the critical directive on openmp), or a directive that updates a shared scalar without copy in and out from the device to the host (like the atomic directive on openmp).
Do you know if that kind of directives will be implemented on future releases?


Hi Marco,

Once there is hardware support, we will certainly add critical sections.