SimpleOpenCLSamples
SimpleOpenCLSamples copied to clipboard
Added missing interface for CL_SEMAPHORE_DEVICE_HANDLE_LIST_KHR property
Completed during work on CTS PR
I see the error from windows build:
(Link target) ->
emulate.obj : error LNK2019: unresolved external symbol _clGetDeviceInfo@20 referenced in function "public: static struct _cl_semaphore_khr * __cdecl _cl_semaphore_khr::create(struct _cl_context *,unsigned __int64 const *,int *)" (?create@_cl_semaphore_khr@@SAPAU1@PAU_cl_context@@PB_KPAH@Z) [C:\projects\simpleopenclsamples\build\layers\11_semaemu\SemaEmu.vcxproj]
C:\projects\simpleopenclsamples\build\layers\11_semaemu\Release\SemaEmu.dll : fatal error LNK1120: 1
I am calling plain clGetDeviceInfo
because g_pNextDispatch->clGetDeviceInfo
for some reason does not use clGetDeviceInfo_override
. Obviously this code works for me at my machine (Nvidia, ubuntu 22.04). Any clue on your mind how to call clGetDeviceInfo
at Semaphore::create
level ? Thanks
I'm going to go ahead and merge this even though there are CI failures because I think the failures are unrelated and already fixed in the main branch.