WIP - Test suite - hip build fix
- Add fix for test suite hip build
@r-abishek can you add the fix for Issue #454 here?
@kiritigowda Added iomanip PR updates here - https://github.com/r-abishek/rpp/pull/344
@r-abishek any updates on this PR? Need the fix to solve test failures
@rrawther - this fix is required to pass CI -- issue mentioned -- #454
@r-abishek : We need to merge this PR asap as CI is failing on bunch of PRs. Is it still WIP?
@kiritigowda @rrawther Please see screenshots below with lsb_release -a command to show Ubuntu passing on 22.04 and 20.04:
Passing on Ubuntu 22.04:
Passing on Ubuntu 20.04:
@kiritigowda @rrawther Current fails on CI are just since the right libs are not installed on the CI machine for both SLES and RHEL:
On RHEL9:
On SLES15:
@r-abishek - we are installing all the deps for CI. The failure on RHEL 8 can be verified with this fix.
@r-abishek - errors from this PR - http://math-ci.amd.com/job/mainline/job/precheckin/job/rpp/job/PR-453/5/pipeline-console/log?nodeId=282
: In file included from /opt/rocm-6.3.0-14898/share/rpp/test/HOST/Tensor_misc_host.cpp:25:
1: /opt/rocm-6.3.0-14898/share/rpp/test/HOST/../rpp_test_suite_misc.h:97:39: error: implicit instantiation of undefined template 'std::array<unsigned int, 4>'
1: std::array<Rpp32u, 4> roi = {0, 0, 100, 100};
1: ^
1: /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/tuple:1595:45: note: template is declared here
1: template<typename _Tp, size_t _Nm> struct array;
1: ^
1: In file included from /opt/rocm-6.3.0-14898/share/rpp/test/HOST/Tensor_misc_host.cpp:25:
1: /opt/rocm-6.3.0-14898/share/rpp/test/HOST/../rpp_test_suite_misc.h:104:39: error: implicit instantiation of undefined template 'std::array<unsigned int, 6>'
1: std::array<Rpp32u, 6> roi = {0, 0, 0, 50, 50, 8};
1: ^
1: /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/tuple:1595:45: note: template is declared here
1: template<typename _Tp, size_t _Nm> struct array;
1: ^
1: In file included from /opt/rocm-6.3.0-14898/share/rpp/test/HOST/Tensor_misc_host.cpp:25:
1: /opt/rocm-6.3.0-14898/share/rpp/test/HOST/../rpp_test_suite_misc.h:118:39: error: implicit instantiation of undefined template 'std::array<unsigned int, 4>'
1: std::array<Rpp32u, 4> roi = {0, 0, 1920, 1080};
1: ^
1: /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/tuple:1595:45: note: template is declared here
1: template<typename _Tp, size_t _Nm> struct array;
1: ^
1: In file included from /opt/rocm-6.3.0-14898/share/rpp/test/HOST/Tensor_misc_host.cpp:25:
1: /opt/rocm-6.3.0-14898/share/rpp/test/HOST/../rpp_test_suite_misc.h:125:39: error: implicit instantiation of undefined template 'std::array<unsigned int, 6>'
1: std::array<Rpp32u, 6> roi = {0, 0, 0, 1920, 1080, 3};
1: ^
1: /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/tuple:1595:45: note: template is declared here
1: template<typename _Tp, size_t _Nm> struct array;
1: ^
1: In file included from /opt/rocm-6.3.0-14898/share/rpp/test/HOST/Tensor_misc_host.cpp:25:
1: /opt/rocm-6.3.0-14898/share/rpp/test/HOST/../rpp_test_suite_misc.h:132:39: error: implicit instantiation of undefined template 'std::array<unsigned int, 8>'
1: std::array<Rpp32u, 8> roi = {0, 0, 0, 0, 1, 128, 128, 128};
1: ^
1: /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/tuple:1595:45: note: template is declared here
1: template<typename _Tp, size_t _Nm> struct array;
1: ^
1: 5 errors generated.
1: make[3]: *** [CMakeFiles/Tensor_misc_host.dir/build.make:76: CMakeFiles/Tensor_misc_host.dir/Tensor_misc_host.cpp.o] Error 1
1: make[3]: Leaving directory '/var/jenkins_home/workspace/mainline_precheckin_rpp_PR-453/govcksC4S/rpp/build/release/utilities/test_suite/build'
1: make[2]: *** [CMakeFiles/Makefile2:119: CMakeFiles/Tensor_misc_host.dir/all] Error 2
1: make[2]: *** Waiting for unfinished jobs....
Check full report - http://math-ci.amd.com/job/mainline/job/precheckin/job/rpp/job/PR-453/5/pipeline-console/?selected-node=279
@kiritigowda All Jenkins CI passing now for this PR - Ubuntu/SLES/RHEL. Strict checks introduced in CMake for all packages necessary to build and run each of the 4 test sets. PR description changed to point to all issues it addresses.
@kiritigowda @rrawther Last minor readme commit is really taking too long to run the CI.
Please see CI passing on the second last commit (Commit ID - https://github.com/ROCm/rpp/pull/453/commits/3945af181cc251eb4257d291c4d4d331d4ae11a6).
Merge pending - http://math-ci.amd.com/job/mainline/job/precheckin/job/rpp/job/PR-453/16/pipeline-graph/
Merge pending - http://math-ci.amd.com/job/mainline/job/precheckin/job/rpp/job/PR-453/16/pipeline-graph/
@kiritigowda The Ubuntu22+gfx90a may not finish since all nodes show offline:
@kiritigowda All 13 CI checks passing now