Hi! I was wondering if there is a way to sync two threads, one on the cpu and one on the gpu.
I am creating to cpu cores, one of the cores will offload to the GPU side and will have a lot of computation there. But at some point I need to sync them together. Is there a way to do that sync, through a barrier or something, cause I saw that volatile does not work.