sbuild and pocl
I am trying to build the nabu package an run the tests with pocl... but it seems that pocl do not find a devices when run inside the sbuild chroot.
It was not the case before...
someone knows a way to fix this ?
make[1]: Entering directory '/<<PKGBUILDDIR>>'
clinfo
Number of platforms 1
Platform Name Portable Computing Language
Platform Vendor The pocl project
Platform Version OpenCL 3.0 PoCL 6.0+debian Linux, None+Asserts, RELOC, LLVM 17.0.6, SLEEF, DISTRO, POCL_DEBUG
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_khr_priority_hints cl_khr_throttle_hints cl_pocl_content_size cl_ext_buffer_device_address
Platform Extensions with Version cl_khr_icd 0x400000 (1.0.0)
cl_khr_priority_hints 0x400000 (1.0.0)
cl_khr_throttle_hints 0x400000 (1.0.0)
cl_pocl_content_size 0x400000 (1.0.0)
cl_ext_buffer_device_address 0x1000 (0.1.0)
Platform Numeric Version 0xc00000 (3.0.0)
Platform Extensions function suffix POCL
Platform Host timer resolution 1ns
Platform Name Portable Computing Language
Number of devices 0
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Portable Computing Language
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No devices found in platform [Portable Computing Language?]
clCreateContext(NULL, ...) [default] No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) <checkNullCtxFromType:4160: create context from type CL_DEVICE_TYPE_DEFAULT : error -33>
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) <checkNullCtxFromType:4160: create context from type CL_DEVICE_TYPE_CPU : error -33>
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) <checkNullCtxFromType:4160: create context from type CL_DEVICE_TYPE_GPU : error -33>
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) <checkNullCtxFromType:4160: create context from type CL_DEVICE_TYPE_ACCELERATOR : error -33>
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) <checkNullCtxFromType:4160: create context from type CL_DEVICE_TYPE_CUSTOM : error -33>
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) <checkNullCtxFromType:4160: create context from type CL_DEVICE_TYPE_ALL : error -33>
ICD loader properties
ICD loader Name OpenCL ICD Loaderns
ICD loader Vendor OCL Icd free softwarens
ICD loader Version 2.3.2ns
ICD loader Profile OpenCL 3.0ns
dh_auto_build
Reply to: