Hi Chris,

Can you please open Github issues of these?

Please attach there the following additional info:
- LLVM version
- is it Intel E5-2620 specific -- does it work with some other target with
the same LLVM and pocl versions

Thanks,
Pekka

On 07/06/2017 02:26 PM, Chris Cummins wrote:
> Hi,
> 
> I have been batch testing OpenCL programs and have encountered a number of
> cases where pocl performs unusually.
> 
> The first is when compiling a kernel with undefined symbols. In this case,
> the compiler should error, however, with pocl, the compilation completes
> successfully, but the program then crashes due to a symbol lookup error when
> trying to run the kernel. I have produced a standalone script here:
> 
> http://paste.ubuntu.com/25031508/ (additional examples in the footer of this
> email)
> 
> Secondly, there are cases where the program silently crashes during kernel
> execution with an error message. Example:
> 
> http://paste.ubuntu.com/25031556/ (additional examples in the footer of this
> email)
> 
> In the above case, the kernel performs a mod zero operation which in the
> spec is undefined, though the kernel completes on NVIDIA/Intel OpenCL
> implementations.
> 
> Cheers,
> Chris
> 
> Additional examples of undefined symbol errors:
> 
> http://paste.ubuntu.com/25031509/ 
> http://paste.ubuntu.com/25031510/ 
> http://paste.ubuntu.com/25031511/ 
> http://paste.ubuntu.com/25031512/ 
> http://paste.ubuntu.com/25031513/ 
> http://paste.ubuntu.com/25031514/ 
> http://paste.ubuntu.com/25031515/ 
> http://paste.ubuntu.com/25031516/ 
> http://paste.ubuntu.com/25031517/ 
> http://paste.ubuntu.com/25031518/ 
> http://paste.ubuntu.com/25031519/ 
> http://paste.ubuntu.com/25031520/ 
> http://paste.ubuntu.com/25031521/ 
> http://paste.ubuntu.com/25031522/ 
> http://paste.ubuntu.com/25031523/ 
> http://paste.ubuntu.com/25031524/ 
> http://paste.ubuntu.com/25031525/ 
> http://paste.ubuntu.com/25031526/ 
> http://paste.ubuntu.com/25031527/ 
> http://paste.ubuntu.com/25031528/ 
> http://paste.ubuntu.com/25031529/ 
> http://paste.ubuntu.com/25031530/ 
> http://paste.ubuntu.com/25031531/ 
> http://paste.ubuntu.com/25031532/ 
> http://paste.ubuntu.com/25031533/ 
> http://paste.ubuntu.com/25031535/ 
> http://paste.ubuntu.com/25031536/ 
> http://paste.ubuntu.com/25031538/ 
> http://paste.ubuntu.com/25031539/
> 
> Additional examples of runtime crashes:
> 
> http://paste.ubuntu.com/25031555/ 
> http://paste.ubuntu.com/25031557/ 
> http://paste.ubuntu.com/25031558/ 
> http://paste.ubuntu.com/25031559/ 
> http://paste.ubuntu.com/25031561/ 
> http://paste.ubuntu.com/25031562/ 
> http://paste.ubuntu.com/25031563/ 
> http://paste.ubuntu.com/25031564/ 
> http://paste.ubuntu.com/25031565/ 
> http://paste.ubuntu.com/25031566/ 
> http://paste.ubuntu.com/25031567/ 
> http://paste.ubuntu.com/25031568/ 
> http://paste.ubuntu.com/25031569/ 
> http://paste.ubuntu.com/25031570/ 
> http://paste.ubuntu.com/25031571/ 
> http://paste.ubuntu.com/25031572/ 
> http://paste.ubuntu.com/25031573/ 
> http://paste.ubuntu.com/25031574/ 
> http://paste.ubuntu.com/25031575/ 
> http://paste.ubuntu.com/25031576/ 
> http://paste.ubuntu.com/25031577/ 
> 
> 
> ------------------------------------------------------------------------------
> 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
> 

-- 
Pekka

------------------------------------------------------------------------------
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