We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c968aa commit 88eb0f0Copy full SHA for 88eb0f0
1 file changed
layers/11_semaemu/emulate.cpp
@@ -172,6 +172,17 @@ typedef struct _cl_semaphore_khr
172
{
173
errorCode = CL_INVALID_PROPERTY;
174
}
175
+ else
176
+ {
177
+ cl_device_id device=nullptr;
178
+ g_pNextDispatch->clGetContextInfo(
179
+ context,
180
+ CL_CONTEXT_DEVICES,
181
+ sizeof(cl_device_id),
182
+ &device,
183
+ nullptr);
184
+ devices.push_back(device);
185
+ }
186
187
else
188
0 commit comments