Further testing found this to occur only after many clmath operations, with the number required being fairly but not exactly repeatable, more for smaller arrays, and being reset by exiting and restarting Python but not by gc.collect(); this suggests a memory leak, so the problem could be in either pyopencl or beignet. Upstream (2014.1) pyopencl is also affected.
Sometimes a brief hang is followed by a crash with the message
python: /tmp/buildd/beignet-0.9.3git/src/intel/intel_gpgpu.c:567: intel_gpgpu_check_binded_buf_address: Assertion `gpgpu->binded_buf[i]->offset != 0' failed.
but more often it is an indefinite hang with no message.
Further testing found this to occur only after many clmath operations, with the number required being fairly but not exactly repeatable, more for smaller arrays, and being reset by exiting and restarting Python but not by gc.collect(); this suggests a memory leak, so the problem could be in either pyopencl or beignet. Upstream (2014.1) pyopencl is also affected.
Sometimes a brief hang is followed by a crash with the message beignet- 0.9.3git/ src/intel/ intel_gpgpu. c:567: intel_gpgpu_ check_binded_ buf_address: Assertion `gpgpu- >binded_ buf[i]- >offset != 0' failed.
python: /tmp/buildd/
but more often it is an indefinite hang with no message.