0
0
Fork 0
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:
Jason Volk 2021-05-01 11:46:41 -07:00
parent 3097161198
commit 8233cf1db3

View file

@ -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]