mirror of
https://github.com/matrix-construct/construct
synced 2024-11-18 16:00:57 +01: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
|
void
|
||||||
ircd::cl::sync()
|
ircd::cl::sync()
|
||||||
{
|
{
|
||||||
|
if(unlikely(!primary))
|
||||||
|
return;
|
||||||
|
|
||||||
auto &q
|
auto &q
|
||||||
{
|
{
|
||||||
queue[0][0]
|
queue[0][0]
|
||||||
|
|
Loading…
Reference in a new issue