[Pkg-opencl-devel] latest pocl upload

Andreas Beckmann anbe at debian.org
Sun Mar 25 14:19:54 UTC 2018


On 2018-03-13 20:48, Rebecca N. Palmer wrote:
> The log (
> https://buildd.debian.org/status/fetch.php?pkg=pocl&arch=arm64&ver=1.1-1&stamp=1520642410&raw=0
> ) says the failed assert was
> https://salsa.debian.org/opencl-team/pocl/blob/master/tests/runtime/test_clCreateSubDevices.c#L195
> , i.e. asking clCreateSubDevices "how many sub-devices of max_cus/2
> compute units each can we make?" (where max_cus is the total number
> available) succeeded but gave an answer other than 2.
> 
> max_cus has to be at least 2 for it to get this far, but this is also
> going to assert-fail if max_cus is 3... 3/2 rounds down to 1 so you'd
> get 3 sub-devices not 2.  As the test output doesn't report the value,
> we can't know if it was that or clCreateSubDevices actually not working.
>  (This test has passed on arm64 before, but on a different build server.)

I see this is addressed by 3121afd1a38f9c8692ca47631ad9f4a9239b4ab4
Is max_cus == 3 the only special case that needs to be handled or will
the test fail similarily for any other odd number of CUs?

And regarding 0effadfbd85a18966fc52645fbd1a25998ee58dd:
s/FORBIT_IMPLICIT_FUNCTIONS/FORBID_IMPLICIT_FUNCTIONS/


Andreas



More information about the Pkg-opencl-devel mailing list