Bug#1069144: ADvice about htis pocl issue on armel
PICCA Frederic-Emmanuel
frederic-emmanuel.picca at synchrotron-soleil.fr
Wed Apr 17 08:38:56 BST 2024
Hello Andreas,
I have another autopkgtest failure on armel with silx and pocl
The content of check_atomic32 is
def check_atomic32(device):
try:
ctx = pyopencl.Context(devices=[device])
except:
return False, f"Unable to create context on {device}"
else:
queue = pyopencl.CommandQueue(ctx)
src = """
kernel void check_atomic32(global int* ary){
int res = atom_inc(ary);
}
"""
try:
prg = pyopencl.Program(ctx, src).build()
except Exception as err:
return False, f"{type(err)}: {err}"
a = numpy.zeros(1, numpy.int32)
d = cla.to_device(queue, a)
prg.check_atomic32(queue, (1024,), (32,), d.data).wait()
value = d.get()[0]
return value == 1024, f"Got the proper value 1024=={value}"
1019s Testing with python3.12:
1024s pocl warning: encountered incomplete implementation in ./lib/CL/clGetDeviceInfo.c:98
1026s dlopen("/tmp/autopkgtest-lxc.1tg98r_u/downtmp/autopkgtest_tmp/.cache/pocl/kcache/GI/PODCELNLNPFCGBFNGLEIHDEIECBKNFCDBNAPP/check_atomic32/0-0-0/check_atomic32.so") failed with '/tmp/autopkgtest-lxc.1tg98r_u/downtmp/autopkgtest_tmp/.cache/pocl/kcache/GI/PODCELNLNPFCGBFNGLEIHDEIECBKNFCDBNAPP/check_atomic32/0-0-0/check_atomic32.so: undefined symbol: __atomic_fetch_add_4'.
1026s note: missing symbols in the kernel binary might be reported as 'file not found' errors.
I found something similar about scipy here
https://github.com/scipy/scipy/issues/19982
I am wondering if this is an issue with pocl or llvm on armel.
Fred
More information about the debian-science-maintainers
mailing list