FS#68282 - [pocl] Package built for znver1
Attached to Project:
Community Packages
Opened by Matej Dian (Snoop05) - Friday, 16 October 2020, 12:36 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 18 October 2020, 00:44 GMT
Opened by Matej Dian (Snoop05) - Friday, 16 October 2020, 12:36 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 18 October 2020, 00:44 GMT
|
Details
Description:
By default pocl builds for host CPU (native), package in repos was built for znver1, which may result in illegal instruction error on different uarch CPU. Passing -DKERNELLIB_HOST_CPU_VARIANTS=distro to cmake will build multiple variants for different SSE and AVX versions, making it possible to run on all supported CPUs at close to native performance. For more info see https://github.com/pocl/pocl/blob/070848d6c7eaf58045db5521b246d309288eea41/CMakeLists.txt#L1057 Steps to reproduce: Run clpeak with pocl from official repos on CPU without AVX2 |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Sunday, 18 October 2020, 00:44 GMT
Reason for closing: Fixed
Sunday, 18 October 2020, 00:44 GMT
Reason for closing: Fixed