Commit Graph

40 Commits

Author SHA1 Message Date
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
Jatin Chaudhary 8dc8ce17d9 SWDEV-277697 - Fix issues with nvcc + catch2
Change-Id: If9be2d7d6a635964ee0abf8ffa9d948b734864f1
2021-06-15 12:33:20 -04:00
cjatin 0a4c9ddf48 SWDEV-277697 - [CatchTest] Disable CXX Extensions (gnu++11 etc) on CMake
Change-Id: I17abd329c16cf0a61316186558828d0524b98281
2021-06-01 06:48:05 -04:00
Jatin Chaudhary da360c2aab SWDEV-277697 - [CatchTest] Fix Documentation, Add test to AMD specific, Add HIP Macros, New Binary for multiproc tests
Change-Id: I3783caf85c694b724ed55b778220b8ef9a39f84b
2021-05-25 07:12:54 -04:00
cjatin be6809d8d1 SWDEV-277697 - Adding Infra and dependent libs: Catch2 and json parser, for new HIP Testing framework
Change-Id: Iedfa041ec9acc13eeb631ff67e1677e2fe29463d
2021-05-19 00:47:00 -04:00