Commit Graph

23 Commits

Author SHA1 Message Date
Siu Chi Chan 366445410e SWDEV-355608 - deprecate/cleanup hipcc link flags (#3128)
- deprecate -use-staticlib, -use-sharedlib which no longer provide any
functional values
- use --hip-link instead of specifying the HIP runtime by name when
linking
- fix linker option bug in HIT test's cmake
- update build options for unit tests requiring pthread or rt

Change-Id: Ib49978773c80fb40c71dc52b050ce921943ee3e4

[ROCm/hip commit: a388eb1e6f]
2023-01-23 22:42:52 -08:00
ROCm CI Service Account e86ee86479 SWDEV-306410 - Add Unit_hipEventMGpuMThreads* (#3095)
Change-Id: Ieaaed1d15b4d258103d8341d4b17d9f83a9e4785

[ROCm/hip commit: 8202097629]
2022-11-28 14:04:36 +05:30
ROCm CI Service Account cd6b6ca2c3 SWDEV-327563 - Windows Enable fixed tests v5 (#3059)
Change-Id: Ie144e481f38b3e5d462f64d76ab4fd32043f2b46

[ROCm/hip commit: 4fbc08e6c4]
2022-11-07 15:36:09 +05:30
nives-vukovic 86d274e992 EXSWHTEC-13 - Implement positive test for hipEventCreate (#2901)
- Add hipEventCreate.cc file with a simple positive unit test
- Add newly created file into CMakeLists.txt
- Update hipEventCreate test according to coding guidelines

[ROCm/hip commit: 5664a6299f]
2022-11-02 21:32:58 +05:30
nives-vukovic 1d5763d4fa EXSWHTEC-25 - Update Unit_hipEventCreateWithFlags_Positive test to include hipEventInterprocess flag on AMD (#3036)
* Implement tests for hipEventCreateWithFlags

- Add hipEventCreateWithFlags.cc with a simple positive unit test
- Divide Unit_hipEventCreate_NullCheck into two separate tests
- Add newly created file into CMakeLists.txt
- Update Unit_hipEventCreateWithFlags_Positive test to include hipEventInterprocess flag

[ROCm/hip commit: 2b57acc903]
2022-11-02 08:31:41 +05:30
ROCm CI Service Account d492bdd82c SWDEV-347670 - Enable GPU StreamWrite and StreamWait tests on Windows (#3031)
This patch skips Unit_hipStreamValue_*_Blocking test cases because of a soft hang
Stream write and stream wait passing tests can be enabled in the device
attribute.

Unit_hipStreamValue_*_Blocking tests will be enabled when the hang is fixed

Change-Id: Ieea831162208c4ec172b35a0421c66f6b1a21ed7


[ROCm/hip commit: b0d6892692]
2022-10-31 22:08:38 -07:00
ROCm CI Service Account 8400d97a79 SWDEV-360437 - fix tests with hipGetLastError() (#3040)
Unit_hipFreeImplicitSyncDev*
Unit_hipFreeImplicitSyncHost*
Unit_hipFreeImplicitSyncArray*
Unit_hipStreamCreateWithFlags_DefaultStreamInteraction
Unit_hipStreamSynchronize_NullStreamAndStreamPerThread

Change-Id: I382cf13bfe15bd8b1af657bdbb8c4f9043ea6f17


[ROCm/hip commit: 41acbf98be]
2022-10-31 17:38:26 -07:00
Paulius Velesko 8d371ed6b6 Catch2 Test Fixes (#2961)
* test fixes

* address PR comment

* PR comment fixing Nvidia pass

* add additional kernel launch checks

* pr comments


[ROCm/hip commit: c02b15fc7c]
2022-09-30 15:07:25 -07:00
nives-vukovic 65252464d9 EXSWHTEC-15 - Implement additional HipEventElapsedTime tests (#2903)
- Fix minor bug in helper test function in Unit_hipEvent.cc
- Move negative test from Unit_hipEventElapsedTime_DifferentDevices to Unit_hipEventRecord_Negative
- Add Unit_hipEventElapsedTime_NotReady_Negative test when function is called on event that has not been completed

[ROCm/hip commit: 5bf0dbe5ad]
2022-09-26 13:47:12 +05:30
nives-vukovic 06e3b9bed9 EXSWHTEC-16 - Implement hipEventSynchronize tests (#2904)
- Add hipEventSynchronize.cc file with positive unit tests: Simple recorded event synchronization and without event recording
- Add newly created file into CMakeLists.txt

[ROCm/hip commit: 7b8feec246]
2022-09-26 11:02:00 +05:30
nives-vukovic d2157cb085 EXSWHTEC-14 - Implement tests for hipEventCreateWithFlags (#2902)
- Add hipEventCreateWithFlags.cc with a simple positive unit test
- Divide Unit_hipEventCreate_NullCheck into two separate tests

Signed-off-by: Nives Vukovic <nives.vukovic@htecgroup.com>

[ROCm/hip commit: 758a6b863c]
2022-09-12 20:29:42 +05:30
Fábio 0f59968eff EXSWCPHIPT-105: Add testing for hipEventDestroy (#2727)
[ROCm/hip commit: 159d41531d]
2022-08-05 11:00:06 +05:30
Jatin Chaudhary 9d242d1f8f EXSWCPHIPT-35 - Add hipEventQuery tests (#2721)
[ROCm/hip commit: 1a3cbc472e]
2022-08-03 19:24:02 +05:30
ROCm CI Service Account 14ad5cfdc0 SWDEV-327563 - Enable fixed tests linux and windows (#2803)
Change-Id: Icad90d01f796a8a8cf57884b86ca1a5a2b50ec64

[ROCm/hip commit: 3ab3c5fa17]
2022-07-19 19:28:17 +05:30
Jatin Chaudhary a19f67b275 EXSWCPHIPT-102 - Adding hipEventRecord Tests (#2722)
[ROCm/hip commit: cd90931c0d]
2022-07-01 11:30:02 +05:30
Fábio cc7ae07901 EXSWCPHIPT-42: Changes to HIP RTC Framework implementation (#2732)
- Removed ifdef from hipTestContext class
- Fix potential race condition in hipTest::launchRTCKernel()
- Improve documentation
- Move moduleUnloading to main() instead of explicitly calling it on every test
- Fix code formating
- Fix segmentation fault caused by using catch2 macro after catch2 is destroyed

[ROCm/hip commit: d46d399976]
2022-06-28 09:00:37 +05:30
Fábio 88b11a1401 EXSWCPHIPT-107: Added testing for hipEventCreate (#2729)
[ROCm/hip commit: 50829a3b00]
2022-06-20 16:21:01 +05:30
Fábio bdee650e17 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

[ROCm/hip commit: 604de0f817]
2022-06-13 15:35:02 +05:30
ROCm CI Service Account 614529f83b SWDEV-327563 - Windows: enable skipped devicelib, event, stream tests (#2668)
Change-Id: Iebc9766f71f20148d2d4b6e08de7745111393a97


[ROCm/hip commit: ab3dc9ccac]
2022-05-06 11:04:10 -07:00
agunashe e90cc323e3 SWDEV-273235 - catch2 windows build (#2422)
Change-Id: I331c6c2525a65746e2d0799ec8dc2f608af1176a

[ROCm/hip commit: 0d361c5621]
2021-11-26 11:52:46 +05:30
agunashe 6a5e1ea51e SWDEV-273235 - Linux: catch2 shared lib to executable (#2421)
Change-Id: I17101e39fd05eb35c087ebdf3cb005d428d9f206

[ROCm/hip commit: 6c24531156]
2021-11-26 11:02:29 +05:30
Satyanvesh Dittakavi a9d21f04bf SWDEV-289401 - update hipEvent unit test (#2312)
Reduce the data size as unit tests are expected to take lesser time

Change-Id: Ic30be2ba3e0ff5fff19404b46163b79878716b70

[ROCm/hip commit: 6cc162f6cf]
2021-08-19 10:28:51 +05:30
Satyanvesh Dittakavi 6c8eeb09d7 SWDEV-289401 - Catch2 tests for hip event APIs
Change-Id: I7c28f842282e07c21656fb92ddbb1a9ad32d752c


[ROCm/hip commit: 5816d20752]
2021-07-30 07:15:00 -04:00