Intel® Graphics Performance Analyzers (Intel® GPA)
Improve your game's performance by quickly identifying problem areas.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Synchronization between a cpu core and gpu core

Doru_Adrian_Thom_P_
259 Views

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. 

Thanks

0 Kudos
4 Replies
EDUARDO_R___Intel_
259 Views

Hi Adrian,

This question seems to be more related to development than it does performance tuning. I'll forward this to our developers and see if anyone has some insight to your particular problem :)

-Eddy 

Doru_Adrian_Thom_P_
259 Views

Ooops! I am really sorry. I saw graphics and I started writing. Thanks a lot.

Thom

Neal_Pierman
Valued Contributor I
259 Views

Hello,

Did you get your question answered? If not, I would also recommend that you post this question in the following forum: http://software.intel.com/en-us/forums/user-community-for-visual-computing

Regards,

Neal

Anoop_M_Intel
Employee
259 Views

Hi Adrian,

As of now Intel compiler provides support only synchronous calls to GPU. So any computation offloaded to GPU is a blocked call and the CPU thread will only resume after the computation on GPU side completes and returns.

Thanks and Regards
Anoop

Reply