mirror of
https://github.com/matrix-construct/construct
synced 2024-09-30 12:48:54 +02:00
ircd:🆑 Add check for primary context in sync impl.
This commit is contained in:
parent
3097161198
commit
8233cf1db3
1 changed files with 3 additions and 0 deletions
|
@ -458,6 +458,9 @@ ircd::cl::query_warp_size(cl_context context,
|
|||
void
|
||||
ircd::cl::sync()
|
||||
{
|
||||
if(unlikely(!primary))
|
||||
return;
|
||||
|
||||
auto &q
|
||||
{
|
||||
queue[0][0]
|
||||
|
|
Loading…
Reference in a new issue