Hi! I would like to know if there is a possibility to synchronize the threads on the gpu with the threads on the cpu.
To be more specific. I have a program that has two threads. Both threads will be glued to different cpu cores, however one of the threads will just run on the cpu side, whilst the second term will offload it's work to the gpu. I would like to know if there is a mechanism that could be put in place to have a barrier like synchronization between the cpu thread and the gpu threads?
And as a side note, when compiling with the intel compiler a code meant for gpu offloading I got the following error:
catastrophic error: Can't deduce surface for instrinsic _sfiload_si32.
Can someone please tell me what that means.
Thank you, very much.