Skip to content

Commit ad1e96a

Browse files
authored
fix a copy-paste error causing the queue family to be overwritten (#248)
1 parent ee9393f commit ad1e96a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

intercept/src/intercept.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12885,8 +12885,8 @@ void CLIntercept::chromeRegisterCommandQueue(
1288512885
testError |= dispatch().clGetCommandQueueInfo(
1288612886
queue,
1288712887
CL_QUEUE_INDEX_INTEL,
12888-
sizeof(queueFamily),
12889-
&queueFamily,
12888+
sizeof(queueIndex),
12889+
&queueIndex,
1289012890
NULL );
1289112891
if( testError == CL_SUCCESS )
1289212892
{

0 commit comments

Comments
 (0)