Skip to content

Commit

Permalink
Device id initialization correction
Browse files Browse the repository at this point in the history
  • Loading branch information
shajder committed Aug 29, 2024
1 parent c58d047 commit 7e1d3b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/11_semaemu/emulate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ typedef struct _cl_semaphore_khr
}
else
{
cl_device_id device=0;
cl_device_id device=nullptr;
g_pNextDispatch->clGetContextInfo(
context,
CL_CONTEXT_DEVICES,
Expand Down

0 comments on commit 7e1d3b9

Please sign in to comment.