Hello,

> compile pocl on a centos machine, but had some compilation issues, so did
> not investigate further there.

Compilation issues compiling pocl, or one of its dependencies ? There is some 
reasonably old (i think 5.0) Clang+LLVM for Centos 7 somewhere, just FYI.

> I used the disassembly hint for gdb. The crash is in line 310. The
> associated gist is here:
> https://gist.github.com/tbetcke/087b18ad7a238b0528d68805e5c46f14

OK, so as i suspected it's likely a variant of this bug:

https://github.com/pocl/pocl/issues/558

I've tried to fix it but perhaps i missed something.

> You can find the source code of the kernel here:
> https://gist.github.com/tbetcke/c685568273f4df7250ed643524d6b175

There's a bunch of #defines missing, and i suspect they're important (the 
NUMBER_OF_... defines). You could try setting these to nearest larger 
power-of-two and see if pocl still crashes. Also knowing your local sizes to 
enqueueNDRange would help.

Regards,
-- mb

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to