cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

sajis997
Adept I

synchronize between host and device memory

Hi forum,

Is there any mechanism to synchronize between host and device memory space ?

Some hint, references or case studies is requested.

Thanks

Sajjad

0 Likes
Reply
1 Reply
himanshu_gautam
Grandmaster

Re: synchronize between host and device memory

Shouldn't cl_events do the trick? You can associate a event object to any execution or data transfer API, and then wait on that event for synchronization. Refer to OpenCL spec 1.2 for details on events.