Commit Graph

54 Commits

Author SHA1 Message Date
Michael Xie 72450ae7a1 SWDEV-492356 - Install hip-test artifacts into a single folder
Change-Id: Ib2a2c021e2546c0233050f11d3dc84f2ea4ff03d
2024-11-13 18:22:32 -05:00
David Salinas 4407cf6059 HIPCC Perl Clean up:
SWDEV-467478 - HIPCC Clean up perl

Change-Id: Iaea54b8b49ab51108163d363bbe68823571409d7
2024-10-22 04:46:40 -04:00
Ranjith Ramakrishnan 173abcfba0 SWDEV-437189 - Provide option to enable/disable CPACK_SET_DESTDIR
The variable is set as cache, so that user can override.
But the hard coded setting is preventing override. Removed the same

Change-Id: Ica5f9074a6532f465705a8dd1a8f21c6643ef49e
2024-09-23 15:46:24 -04:00
Vladana Stojiljkovic 5b67a2a4a0 SWDEV-450735 - Add compiler option for using clock64
Change-Id: I9efed88d691ee1b2b4465286b3340b820f7bf627
2024-08-29 10:26:11 +02:00
Ioannis Assiouras 8a24059131 SWDEV-445669 - Made required changes to test static libs
Change-Id: I0fbcdaa9f0b9633d861300c221ac12df1772c6e9
2024-06-12 05:14:36 -04:00
Konstantin Zhuravlyov 80722e5505 hipcc hacks and workarounds
- force hipcc.bin on windows
    - avoids perl, which randomly can't spawn processes
  - force hipconfig.bat on windows
    - hipconfig.bin does not print hip version for some reason
    - i will file a ticket for this

Change-Id: Ib9fb981844213b038f6d1cc3288148116295b58c
2024-05-07 10:21:17 -04:00
Rahul Manocha 839b3b21d1 [SWDEV-438556][SWDEV-451686] - Enable Negative Param hip tests
Change-Id: I7c602ca0109864aac9d18feb31ae90f2a0ef4d36
2024-04-22 13:00:22 -04:00
Branislav Brzak 5fd4f31995 SWDEV-447357 - Implement test coverage report integration
Change-Id: I9daa851dc2b86c3400dea700f01f5ad65bd119a1
2024-03-27 05:58:25 -04:00
Sebastian Luzynski 53406684ee SWDEV-447358 - Add build_doc target to hip-tests
This change adds a new cmake target to generate test plan documentation using
Doxygen. The target is called build_docs and it's not added to the default
build commands, hence it needs to be called separately.

Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: I441524568e0513019ca21467950e48a551234802
2024-03-08 04:19:48 -05:00
Jatin Chaudhary 508991225f SWDEV-429802 - change address sanitizer variable name to ENABLE_ADDRESS_SANITIZER
This is to bring scripts in compute/ec/prototype in sync which uses this
particular variable to enable address sanitizer across projects.

Change-Id: Ia620e4fd86338554ee3dd57c5690edb919b6e5a5
2024-01-17 10:09:51 -05:00
Jatin Chaudhary 7cfc4a3664 SWDEV-429802 - add address sanitizer build option to hip-tests
Change-Id: I5662e1d7a08c81239e043ddc7b48853a414a3556
2023-12-08 10:25:29 -05:00
Ioannis Assiouras 3ae4d80e86 SWDEV-433317 - Added compilation flag to report an error if vla is used
Change-Id: I8a03e1fece88ec52261c53684c9f66bbfc401a12
2023-12-05 17:53:18 -05:00
Rahul Manocha c5fa5e683f SWDEV-431064 catch test perf_test target compilation fix
Change-Id: I7de355c0d8ffd60ae05851e94c6e1a08ad655fd8
2023-11-17 06:34:32 -05:00
Todd tiantuo Li 050370661e SWDEV-333557 - add catch multiproc to Windows build
Change-Id: Ib1b976c9071527e508703496db234f2623a2cf84
2023-11-06 08:25:50 -05:00
AravindanC 6b5c880d6a SWDEV-424997 - Adding -Wno-option-ignored to hip catch test build
Change-Id: Ia4d3d9ee3d5762ce2e8814afcc2846b88306c482
2023-10-02 06:17:33 -07:00
Maneesh Gupta 06398a85b9 SWDEV-403773 - catch configuration to auto detect and generate json per arch (#413)
Change-Id: Iad8e93157c3acc6fdecf2603fdf6d90416a3c6e4
2023-09-07 17:28:49 +05:30
ROCm CI Service Account cf174d5a47 SWDEV-403471 - [catch2][dtest] Converting perftests-memory files from HIT to catch2 (#342)
Change-Id: I13d2513f31dffe0b280039c888a97cc0d7bba31f
2023-08-14 21:17:55 +05:30
ROCm CI Service Account 34976df246 SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests (#363)
* SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests env vars such as HIP_PATH, ROCM_PATH, HIP_COMPILER, HIP_RUNTIME, HSA_PATH etc are removed.

Change-Id: I280e20b291cfb14675846aae72d97fa5b3ad567d
2023-08-14 12:06:14 +05:30
milos-mozetic 5fbbdcae68 EXSWHTEC-231 - Implement custom Benchmarking tool for Performance tests (#117)
- Introduce performance tests to project.
- Improve benchmarking utilities.
- Delete copy constructors from Timer and Benchmark classes.
- Disable Catch2's benchmarking functionalities.
- Address review comments and add progress bar/display output to the Benchmarking tool
- Add flushing of the buffer on the benchmark name display
- Introduce command line options.
- Add allocation type to string helper function.
- Add output modifier to Benchmark class.
- Fix invalid calculation of deviation
- Update performance_common.hh
- Resolve build error on Windows by adding include for reduce and accumulate
2023-07-18 12:53:27 +05:30
ROCm CI Service Account 0db4863f86 SWDEV-385308 - hip-catch packaging issues (#293)
-install location /opt/rocm-xxxx/share/hip/catch_tests
-fix permissions of catch_tests folder

Change-Id: Ibc43a7abc55672eb2d685e5ed107e4c994d27f81
2023-06-05 19:28:19 -07:00
ROCm CI Service Account cef4ed8196 SWDEV-357797 - enabling devicelib tests on Windows (#148)
Change-Id: Ic60e2f77fd2dcba0e0e00a58e1a22a1f28fede5c
2023-03-14 16:27:52 -07:00
ROCm CI Service Account 66ad40972a SWDEV-371122 - Package name corrected for hip-catch-amd (#160)
Change-Id: I8ca14f50761e8f332bc0ca096594e241077f4715
2023-02-09 19:38:07 -08:00
agunashe 639724a841 SWDEV-327563 - Enable back the commented tests (#141) 2023-01-26 17:13:57 +05:30
ROCm CI Service Account e88550d380 SWDEV-368632 - hip-tests: HIP_PATH and ROCM_PATH for catch tests (#138)
Change-Id: I855bf73df2914b98fe7f502f3a9837529feed8af
2023-01-24 21:21:50 -08:00
ROCm CI Service Account 82fdfdb357 SWDEV-359379 - Windows catch2: fix for rsp path issue (#137)
MSbuild optimizes long args by writing it to a temp file.
the temp file path was referenced incorrectly.
This patch fixes the path issue of the rsp file

Change-Id: I90e3e46764902025f09d7adddd80d8a7ead3b940
2023-01-24 11:00:02 -08:00
Rahul Garg 961245e9f4 Catch2 standalone exe (#129)
* SWDEV-359379 - catch2: Standalone single exe per file

-workaround for rsp file issue.
-Creates single exe per file
-tests detection is still during execution time and NOT compile time

Change-Id: Iddfb83d57b2d767212f3d9307a276b7d572da6cd

* SWDEV-359379 - Update CMakeList

* Update Catch.cmake

* Temporarily disable failing tests
2023-01-19 14:09:14 -08:00
ROCm CI Service Account 3229bcbe45 SWDEV-354905 - prioritize -DROCM_PATH over env{ROCM_PATH} in hip tests (#3055)
Change-Id: I943bc705641ceccda95b409d13b4e757c4e5ab23
2022-11-04 17:14:41 -07:00
ROCm CI Service Account d0aaed906d SWDEV-353807 - Fixes multiple catch issues (#2912)
- enforcing c++17 for all tests
- Warning as error: ignoring return value

Change-Id: I3d171540403f74222e631d1a8e393386461c9729
2022-08-30 16:53:21 -07:00
ROCm CI Service Account ba5a0b9af5 SWDEV-353807 - deviceLib test when build/execution nodes are different (#2905)
Change-Id: I9dd831bbf87999cb3ea65c91b7e86679198357d3
2022-08-30 12:27:28 -07:00
Jatin Chaudhary 867f1276b7 Add tests for hipStreamWaitEvent (#2559) 2022-08-03 16:47:34 +05:30
ROCm CI Service Account c8c0c67677 SWDEV-332251 - packaging in windows and multiple arch in catchInfo.txt (#2779)
Change-Id: I627662b59de002e9042f8218478404de0aa73ea5
2022-07-08 13:36:41 +05:30
ROCm CI Service Account 261d606262 SWDEV-332251 - packaging hip catch tests (#2751)
use "make package_test" to create test packages for catch folder

Change-Id: I1dbcfc8d55bb236b1c8c160d47018d57cb9e0534
2022-06-22 11:18:27 -07:00
Fábio f04fdbd0f7 EXSWCPHIPT-42 - Add HIP RTC support to the test framework (#2719)
* EXSWCPHIPT-42 - Add HIP RTC support to the test framework
* Removed ifdef from hipTestContext class
2022-06-13 15:35:02 +05:30
Maneesh Gupta cd6fb63981 SWDEV-327563 - Windows: enable deviceLib catch tests (#2642)
Change-Id: I10094c31d0f51c311618ecdc193e7411316d00ef
2022-04-21 14:34:17 +05:30
ROCm CI Service Account 3dab167f5a SWDEV-314946 - Windows: adding properties to hip tests exe (#2620)
Change-Id: I3bac668345e3168f8a2b2772bf8ca422430803d8
2022-04-13 10:26:25 -07:00
TomSang dbcb198b19 SWDEV-314867 - Fix clang missing issue in cuda docker (#2446)
Cuda dockers doesn't contain clang. The dependence on clang
will fail catch2 building. Catch2 building actually doesn't
need clang. Remove clang dependence from catch2 cmake file.

Change-Id: I8fd76e99d27ce4f5769baffae0608dd1cf0f4188
2022-03-15 14:08:55 -07:00
ROCm CI Service Account 3f4fb28faf SWDEV-321872 - [catch2][dtest] Texture tests migrated to catch2 (#2536)
Change-Id: I4e29001812e2310680c6c24028667eb560194e87
2022-03-11 16:53:48 +05:30
ROCm CI Service Account ef83ae6fd0 SWDEV-325491 - hip build when rocm_agent_enumerator returns no devices (#2535)
Change-Id: I2fe58d1eaba82a3dab2472bd37a8ab26d105ac1c
2022-03-11 09:58:52 +05:30
agunashe 4872e70674 SWDEV-1 - hip tests: Moving ctest file generation to execution phase (#2522)
Earlier ctest file creation was taking place during build time.
Due to cmake framework issue the file creation had issues,
which in turn failed the test build.
This change moves this logic to the execution phase
and gets rid of the unwanted dependency during build time

Change-Id: Ifbf7e325f1b15a8be12e76560a6d339bc76705ee
2022-02-28 09:26:33 -08:00
agunashe ec8d624959 SWDEV-273235 - hip change to build catch tests on Windows (#2472)
* SWDEV-273235 - hip change to build catch tests on Windows

Change-Id: I96de305694609c669cb81480f3572d987ce87d98

* SWDEV-1 - skip failing hipStreamPerThread_DeviceReset_1 test on Linux
2022-02-09 08:17:45 -08:00
Maneesh Gupta 160a9dabe9 SWDEV-316804 - Fix catch2 standalone build failure
project needs to be defined at the beginning of the cmake file.
2022-01-06 12:02:12 +05:30
agunashe 2e4d43deb1 SWDEV-273235 - enabling catch2 config file and graph tests (#2437)
Change-Id: Ia9ce9e4b32aaca0986b86a237ff01a030e8da4d5
2021-12-16 10:11:13 +05:30
agunashe 7073499c22 SWDEV-273235 - catch2 packaging for jenkins build (#2430)
Change-Id: I9686b3e26d4e8a24ce97ac1e1f31a4293678d577
2021-12-16 10:11:02 +05:30
agunashe 3ccd6ec300 SWDEV-273235 - catch2 windows build (#2422)
Change-Id: I331c6c2525a65746e2d0799ec8dc2f608af1176a
2021-11-26 11:52:46 +05:30
Sarbojit2019 6b70924fe0 SWDEV-304161 - Fix for test build failure on Nvidia (#2387) 2021-10-20 14:27:13 -07:00
Jatin Chaudhary f88fed2b45 SWDEV-297706 - Set HIP_ARCHITECTURE Property to off. Since cmake 3.21 cmake has added this property(https://gitlab.kitware.com/cmake/cmake/-/blob/master/Help/prop_tgt/HIP_ARCHITECTURES.rst) (#2364)
Change-Id: I33580ac0171ac3744341fcbf25cc3421a1512166
2021-09-24 16:28:38 +05:30
sumanthtg d818f6920d SWDEV-292637 - [dtest] Catch2 unit and multiprocess tests for Memset3d,HostMalloc and MallocConcurrency tests (#2348)
Change-Id: I9025bc13735c1d9fb0f0811a9c9d6ad304adc134
2021-09-17 12:11:26 +05:30
sumanthtg 9798817ca0 SWDEV-238517 - [dtest] Catch2 multiprocess tests for device files.
Changes contain Catch2 device multiprocess tests which were covered under "hip/tests/src/runtimeApi/device" and some additional tests. These test files makes use of fork call or sets visible devices env variable and validates various device aspects.

Change-Id: Iaaca37598d386104da9e5f37f92ab176bc8a2845
2021-07-13 08:42:41 -04:00
Anusha GodavarthySurya c749be3299 SWDEV-290637 - Update tests to use current directory CMAKE_CURRENT_LIST_DIR instead of HIP_SRC_PATH to build from hipamd repo
Change-Id: Ide04d9f7b1fc43b475d985a6dce0aa1bd2ec00da
2021-06-25 01:01:16 -04:00
cjatin 068e1f5043 SWDEV-289409 - Add first batch of device tests, add new exe, helper functions and update test Guidelines
Change-Id: I71929caf44725ba2cab7a6f0224bc37b9d04bcbb
2021-06-23 00:51:50 -07:00