On Wed, 6 Jun 2018 10:52:20 +0100, Timo Betcke <[email protected]> wrote:

> Setting the number of quadrature points to a power of 2 does not fix the 
> segfault.
> When I change the shape function constants from 3 to 4 the crash disappears.

Yep i the problem was triggered by "shapeIntegral" array of arrays. Here is an 
unclean patch:

https://gist.github.com/franz/8a5a26b051f5b1d5dbec551a3236084a

against pocl git master. It seems to fix the crash with your kernel, but i have 
to properly test it and clean it up.

> However, implementing the restriction that shape functions are
> powers of two would be difficult, as we would have to padd the computations

this is clearly a bug in pocl, and should be fixed there.

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