From: Timo B. <tim...@gm...> - 2021-07-10 08:59:33
|
Hi, I have the following issue on Arch Linux (and some of our users reported this issue also on other Linux systems). If I run the native distribution provided version of pocl 1.7 everything works fine. If I install the conda version I get lots of warnings of the type: __private double8' (vector of 8 'double' values) without 'avx512f' enabled changes the ABI '__private double16' (vector of 16 'double' values) without 'avx512f' enabled changes the ABI in code paths that are compiled into the kernel but not executed. Finally, after all these warnings the code segfaults, which I did not see in the distribution provided pocl version. I tried to track back conda versions of Pocl that were working fine. The latest build that works well without segfaults or warnings was Pocl 1.5 Build hecece54_6. Some later builds of 1.5 could also work well. But conda has issues with dependency resolution and I had problems installing them. I would be very grateful for any pointer what could be going wrong. Just as a side info (in case it is useful) why code paths of type double8 and double16 are created. We have a header file with certain inline functions and implementations of them for all possible vector widths. The actual type (double or single) is chosen via preprocessor parameter and the correct function then called in the kernel as an inline function. Hence, code can be generated that includes the type double16, but is never actually called as function in the kernel. Best wishes Timo -- Timo Betcke Professor of Computational Mathematics University College London Department of Mathematics E-Mail: t.b...@uc... Tel.: +44 (0) 20-3108-4068 |