Commit Graph

197 Commits

Author SHA1 Message Date
Maneesh Gupta 6ae21d195e SWDEV-1 - Merge github PRs to amd-staging
- https://github.com/ROCm/hip-tests/pull/194
- https://github.com/ROCm/hip-tests/pull/36
- https://github.com/ROCm/hip-tests/pull/44
- https://github.com/ROCm/hip-tests/pull/47
- https://github.com/ROCm/hip-tests/pull/62
- https://github.com/ROCm/hip-tests/pull/63
- https://github.com/ROCm/hip-tests/pull/64
- https://github.com/ROCm/hip-tests/pull/65
- https://github.com/ROCm/hip-tests/pull/66
- https://github.com/ROCm/hip-tests/pull/67
- https://github.com/ROCm/hip-tests/pull/68
- https://github.com/ROCm/hip-tests/pull/69
- https://github.com/ROCm/hip-tests/pull/142
- https://github.com/ROCm/hip-tests/pull/196
- https://github.com/ROCm/hip-tests/pull/238

Change-Id: I74f7fef76d7d536b1cf89dad3e527c92d1cd21b5


[ROCm/hip-tests commit: 6429ef1b60]
2023-12-20 10:39:37 +00:00
Mirza Halilcevic 6250954456 EXSWHTEC-265 - Implement Tests for Atomic Exchange (#196)
Change-Id: I4d332dcaad2d0a788b6711f5be05ca6d61a9e34b


[ROCm/hip-tests commit: f24d2dd934]
2023-12-20 10:22:01 +00:00
Nives Vukovic fffc952b8f EXSWHTEC-105 - Implement tests for hipModuleOccupancyMaxActiveBlocksPerMultiprocessor and hipModuleOccupancyMaxPotentialBlockSize APIs #47
Change-Id: I4e51bb999f43c4f304ed4712dadc3fc1aae3f7a4


[ROCm/hip-tests commit: bb791d8e86]
2023-12-20 10:22:01 +00:00
Rakesh Roy cf3d4a1162 SWDEV-434211, SWDEV-437982 - Disable failing tests found in PSDB stress testing
- Disable tests that are failing on Linux during PSDB stress testing

Change-Id: I1711d2d67afd3d23a27f84684a06602236cece45


[ROCm/hip-tests commit: 24e2f429ca]
2023-12-18 20:49:43 +05:30
Rupam Chetia 9b9c1cd34c SWDEV-322620 - [catch2][dtest] Adding test for VMM APIs
Change-Id: Ia4dea28601b3c2f0163012a7a2ceb14d3a0c369b


[ROCm/hip-tests commit: de348d8b35]
2023-12-16 07:28:16 -05:00
Jatin Chaudhary bf7b7e6809 SWDEV-428670 - Delete hipStream*Performance tests
This class of tests can fail randomnly since they assume that time to
create first set of stream should be greater than second set. This is
incorrect since there can be multiple reason why the time for second
batch can be greater than the first batch.

Change-Id: I5f91c2bab7119608014dead25fdeb38523c61682


[ROCm/hip-tests commit: 39aeb7b42e]
2023-12-13 17:12:16 +00:00
Jatin Chaudhary 9aa4fe7847 SWDEV-427756 - Remove Unit_hipApiLinkUnusedLibs test
Reasoning: The test assumes hipcc to be present, which might not be the
case on platforms running hip-tests. This test assumes only one type of
GPU present, iGPUs can mess the test up. It also assumes write access
inside the folder its executing, which might not be the case and lastly
it relies on a behavior of HIP which has changed a few times which is
how does a HIP application behave when code object in an exe does not
match the gpu isa. Also work on SWDEV-365241 might render this redundant,
incases where you try to run gfx1032 on gfx1030.

Change-Id: Ie99bdf7caef47e449e3d19c138af47ab82f73d2b


[ROCm/hip-tests commit: da6e008456]
2023-12-13 11:51:29 -05:00
Satyanvesh Dittakavi 6259d20646 SWDEV-419480 - Disable the hiprtc std headers test
The corresponding change https://gerrit-git.amd.com/c/compute/ec/clr/+/940530
in clr is being reverted. This test can be enabled when this change
is reintroduced.

Change-Id: I7787d576b59b9000d43042ec5553219e748b0ae0


[ROCm/hip-tests commit: 4a60fe5fd1]
2023-12-05 08:09:56 +00:00
Tao Sang e84ad1b0d7 SWDEV-409658 - Enable some stream value tests
Enable the following tests
  Unit_hipStreamValue_Wait64_Blocking_NoMask_And
  Unit_hipStreamValue_Wait64_Blocking_NoMask_Nor
  Unit_hipStreamValue_Wait32_Blocking_NoMask_Nor
Relatetd tickets: SWDEV-409658, SWDEV-409602,
SWDEV-409596

Change-Id: I98891d79ac0b141fbaffda29ffda3dcb3e65c327


[ROCm/hip-tests commit: d04b8bf458]
2023-11-27 09:43:41 -05:00
Rakesh Roy 284f94a239 SWDEV-389650: Remove Unit_hipGraphRetainUserObject_Functional_2 from disabled tests
- Fix has been added to fix Unit_hipGraphRetainUserObject_Functional_2
- Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/338

Change-Id: Ic8542c1d542b87360cc6037003c32052fff38443


[ROCm/hip-tests commit: 2ecfc56b6f]
2023-11-26 03:54:24 -05:00
Jaydeep Patel 720038c5b3 SWDEV-362372 - Enable Unit_hipStreamWaitEvent_UninitializedStream_Negative.
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/220

Change-Id: I232de264ac0385513f66f289a081ed6e03d181dd


[ROCm/hip-tests commit: a18d7bc316]
2023-11-24 05:41:01 -05:00
Jaydeep Patel 67ba110e4f SWDEV-425248 - Fix Unit_ChannelDescriptor_Positive for long.
Limit checks for long based on __LP64__ macro.
Changes are required after below PR got merged.
https://gerrit-git.amd.com/c/compute/ec/clr/+/870326

Change-Id: I51cbaf087a7ba98a441348a13091b92dbb97df21


[ROCm/hip-tests commit: e5d82f128d]
2023-11-17 06:01:10 -05:00
Rakesh Roy e0ea6b43a4 SWDEV-432250, SWDEV-431191, SWDEV-432554, SWDEV-432556 - Disable failing tests found in PSDB stress testing
- Disable tests that are failing on Linux & Windows during PSDB stress testing

Change-Id: I29e9649b30809018410df819f295887fbf968042


[ROCm/hip-tests commit: 6196d105b3]
2023-11-17 01:39:08 +05:30
Rakesh Roy e3561a0c77 SWDEV-430387, SWDEV-430116 - Disable failing tests found in PSDB stress testing
- Disable tests that are failing on Linux & Windows during PSDB stress
  testing

Change-Id: I240d5c242e68946899e01c516fa7c4689fbc68f2


[ROCm/hip-tests commit: 8773e3a90a]
2023-11-06 13:22:42 -05:00
Todd tiantuo Li a9d8ab99a1 SWDEV-425217 - disable StreamCreate Performance tests since they may fail on all configs
Change-Id: I69f6dfdd3814089480525dce296be93dcef20cb9


[ROCm/hip-tests commit: 96b85efe72]
2023-11-06 11:49:53 -05:00
Ioannis Assiouras 2df79888e1 SWDEV-391998 - Fix and re-enable Unit_hipMallocManaged_OverSubscription
Change-Id: I896ad5a4894e7a63ad15308838e15601f2e3540c


[ROCm/hip-tests commit: 9290cc3c31]
2023-11-06 08:13:11 -05:00
Rakesh Roy 1f343c299d SWDEV-426219 - Disable Unit_hipLaunchParm on MI100
- Unit_hipLaunchParm fails in integrity test & in PSDB on MI100.
- Disable it until the failure is fixed.

Change-Id: Id055860e067189c0ef85c77583c73269db9d2b51


[ROCm/hip-tests commit: 31dbd1970a]
2023-11-03 14:35:04 -04:00
Jatin Chaudhary 98381a5907 SWDEV-425943 - skip certain tests for gfx90a+
Change-Id: I055182144d5a5e470e5cca81306f7d7c838792d9


[ROCm/hip-tests commit: 905b943769]
2023-11-02 05:39:45 -04:00
Jatin Chaudhary fac4985abc SWDEV-424156 - Add parsing of visible devices for hip-tests
Change-Id: I0b0a2b4c5aec43ad8ee346e6eaaac2b726107207


[ROCm/hip-tests commit: a4b31afab3]
2023-11-01 21:46:26 -04:00
Rakesh Roy edbcc42f3b SWDEV-425248, SWDEV-425251, SWDEV-426375 - Disable failing tests found in PSDB stress testing
- Disable tests that are failing on Linux & Windows during PSDB stress testing

Change-Id: I606226705cd440c1742e0eac4840f7b189d69047


[ROCm/hip-tests commit: ef1b576a8f]
2023-10-16 11:21:33 -04:00
kjayapra-amd 652964079c SWDEV-415965 - Fixing uninitialized variable error for pitch_M and
update hipArray in hipGetLastError

Change-Id: I5656eaa666c0472fb852aa0f95ae1b75c98b60ab


[ROCm/hip-tests commit: baaaff9d7f]
2023-10-13 16:25:01 +05:30
Satyanvesh Dittakavi b284d005b9 SWDEV-395996 - Enable the disabled hiprtc tests
Change-Id: Id0b12f11c298f7488cd95e92916574388e9b1356


[ROCm/hip-tests commit: 949cb688dd]
2023-10-12 12:11:35 -04:00
Ioannis Assiouras 153d0f5886 SWDEV-396618,SWDEV-398655 - Re-enabled Unit_hipEventElapsedTime_NotReady_Negative on windows
Change-Id: I9b13136f78d40edaabf14bce13462397f119496e


[ROCm/hip-tests commit: ab544d4136]
2023-09-26 12:52:44 +01:00
Rakesh Roy f7276ddfb6 SWDEV-1 - Fix build errors occurred due to -Wunused-variable, -Wunused-but-set-variable, -Wunused-result
- Remove unused variables
- Validate return value of HIP APIs
- Disable failed tests in PSDB
- Use HIP_CHECK_ERROR instead of ASSERT_EQUAL

Change-Id: I9dd0792ecd8c79760b6c948388a953ac8c97b5c2


[ROCm/hip-tests commit: 632802aef8]
2023-09-22 21:41:16 +05:30
Rakesh Roy 8d9ee90534 SWDEV-1 - Disable randomly failing tests on Nvidia
- These tests are failing randomly on Nvidia during PSDB

Change-Id: Ifb4d085a526c1ff7d1b7af0528cc94d536b99db9


[ROCm/hip-tests commit: fa0fd5cb83]
2023-09-22 04:29:21 -04:00
Rakesh Roy 6df8223163 Disable tests which fail/hang in PSDB stress test on 13th Sep 2023 (#416)
[ROCm/hip-tests commit: 8a8b157ca7]
2023-09-14 12:40:03 +05:30
Rakesh Roy 656b7c111c Disable failed tests in PSDB stress test on 29th Aug 2023 (#415)
- Unit_hipHostRegister_Memcpy - int/float/double failures are fixed in latest mainline (SWDEV-393727).
- Remaining testcases were random failures seen only during stress test. Could be due to driver/hardware issue.

[ROCm/hip-tests commit: 400c4a1bfe]
2023-09-08 14:01:44 +05:30
Maneesh Gupta 57ef4d1147 SWDEV-403773 - catch configuration to auto detect and generate json per arch (#413)
Change-Id: Iad8e93157c3acc6fdecf2603fdf6d90416a3c6e4

[ROCm/hip-tests commit: 06398a85b9]
2023-09-07 17:28:49 +05:30
Satyanvesh Dittakavi 039a0b615a Fix issues related to -Werror in hip tests (#396)
* Fix issues related to -Werror
* Correct the skipped tests

[ROCm/hip-tests commit: 605d5eee5d]
2023-08-19 21:38:59 +05:30
Ioannis Assiouras 3191fecb78 SWDEV-411880,SWDEV-411881 - Enable deviceAllocation[Malloc/New] tests (#388)
[ROCm/hip-tests commit: 69bce6be08]
2023-08-14 21:31:03 +05:30
ROCm CI Service Account 5f143dbf22 SWDEV-394940 - [catch2][dtest] Adding basic testcases with HIPRTC apis for supported compiler options & also with combination of compiler options (#327)
Change-Id: Ie393e91afe195387152b588780e3109f21d1ad94

[ROCm/hip-tests commit: 58b55f9544]
2023-08-14 21:17:40 +05:30
Sourabh U Betigeri 981a0081d1 Disabling tests on windows to allow PR 849086 (#318)
Change-Id: Id769c12448cac5f185083d89211a7f2683852ebb

[ROCm/hip-tests commit: f5b1bdb7e5]
2023-08-14 20:53:59 +05:30
ROCm CI Service Account a4378fe258 SWDEV-385489 - [catch2][dtest] Adding scenarios for hipEventCreateWithFlags() with hipEventDisableSystemFence and default flags (#282)
Change-Id: Ied3dce437f34d793eb3715999125924ff74ff9b8

[ROCm/hip-tests commit: 23b02df2a1]
2023-08-14 20:53:37 +05:30
ROCm CI Service Account c39777c629 SWDEV-386902 - [catch2][dtest] Test case to verify hipStreamCreate Performance (#222)
Change-Id: I8e6695a4e9214bc9ade598be993e1cbf0b1d210d

[ROCm/hip-tests commit: cdf434b357]
2023-08-14 20:52:06 +05:30
ROCm CI Service Account 7e6f301b4e SWDEV-383372 - [catch2][dtest] Adding corner and stress tests for hipHostMalloc(). (#208)
Change-Id: I2308059e50a951a1e70de4f90fef9e2c76af21f1

[ROCm/hip-tests commit: 0b56a9d38c]
2023-08-14 20:50:29 +05:30
milos-mozetic a2ae1bcb87 EXSWHTEC-224 - Test cases ID clean up and documentation for Texture Management (#92)
- Update hipBindTextureToMipmappedArray.cc
- Fix build error for undeclared identifier 'ret'
- Disable tests which fail in external CI

[ROCm/hip-tests commit: 7c7884a2d9]
2023-08-14 20:45:35 +05:30
Satyanvesh Dittakavi 5879e92e78 SWDEV-395996 - Disable hiprtc tests temporarily (#379)
[ROCm/hip-tests commit: 9c24abc77b]
2023-08-14 12:07:05 +05:30
Maneesh Gupta 27a7591e94 Temporarily disable unstable tests (#376)
* Update config_amd_linux_MI2xx.json
* Update config_amd_linux_common.json

[ROCm/hip-tests commit: f7295e3ea3]
2023-07-26 16:54:35 +05:30
ROCm CI Service Account 0b6f88a5d3 SWDEV-409113,SWDEV-409114,SWDEV-409112,SWDEV-409111,SWDEV-409110,SWDEV-409109,SWDEV-409096,SWDEV-409105 - Remove strong assumptions on hipMemGetInfo reported memory. (#373)
Change-Id: I6751e20690b93a3db35d98e45d295e5465387c5a

[ROCm/hip-tests commit: b8fb6f88b9]
2023-07-20 10:20:05 +05:30
ROCm CI Service Account 969c118fa5 SWDEV-409588 - hipMemsetDSync tests should not use the size as 1 while using D32/D16 APIs (#372)
Change-Id: I32c9bed860ddf4fe0d7bba21dce9bd720168c396

[ROCm/hip-tests commit: 74c143392b]
2023-07-20 10:18:30 +05:30
ROCm CI Service Account 6fb65da9a1 SWDEV-403770 - Enable tests. (#330)
Change-Id: I6e31c7ecea0f8343c37fd8a6249bf1cf1e455be6

[ROCm/hip-tests commit: faa2dd7cfb]
2023-07-20 10:15:03 +05:30
ROCm CI Service Account bd120fef5a SWDEV-366390 - [catch2][dtest] Adding additional functional tests for hipGraphAddChildGraphNode() (#107)
Change-Id: I132141db9d9fee9c8ed3a28f11b2c729042588f0

[ROCm/hip-tests commit: a23c6a140a]
2023-07-18 13:03:05 +05:30
agunashe 4dfba013ff SWDEV-402054 - Disable Unit_hipEventDestroy_WithWaitingStream (#278)
skip Unit_hipEventDestroy_WithWaitingStream in both linux/windows

[ROCm/hip-tests commit: 3c11353740]
2023-07-18 13:01:07 +05:30
agunashe d660c0a84d SWDEV-400049 - disable Unit_hipMemsetDSync – init16_t (#264)
tdr in windows so disabling the test

[ROCm/hip-tests commit: 0be7e3d12d]
2023-07-18 13:00:29 +05:30
Ioannis Assiouras 0d73b9c81f SWDEV-398646 - Skip Unit_hipStreamAddCallback_StrmSyncTiming (#261)
Unit_hipStreamAddCallback_StrmSyncTiming fails on windows because of timing issues.

[ROCm/hip-tests commit: b9fde9f27c]
2023-07-18 12:59:37 +05:30
agunashe 7dbb3a94ae SWDEV-396963 - skip Unit_hipMemcpy2DFromArrayAsync_Positive_Synchronization_Behavior (#243)
Co-authored-by: Rakesh Roy <137397847+rakesroy@users.noreply.github.com>

[ROCm/hip-tests commit: 26bc233996]
2023-07-18 12:59:03 +05:30
milos-mozetic 4c7a0c7bef 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

[ROCm/hip-tests commit: 5fbbdcae68]
2023-07-18 12:53:27 +05:30
Maneesh Gupta d7c774b709 Disable tests failing in stress testing.
[ROCm/hip-tests commit: ad9f036f1d]
2023-07-14 12:11:16 +05:30
Marko Veniger 047d0370cd EXSWHTEC-20 - hipFreeAsync negative tests (#38)
- Added negative tests for hipFreeAsync
 - nullptr check for pointer parameter
 - invalid stream handle for stream parameter
 - Update config_nvidia_linux_common.json

[ROCm/hip-tests commit: bf50c2d2d8]
2023-07-11 14:08:00 +05:30
music-dino b39c25b32b EXSWHTEC-75 - Implement tests for hipMemcpyAsync and derivatives (#18)
- Basic positive tests
- Negative parameter tests
- Disable tests failing on CI

[ROCm/hip-tests commit: 3f9c1dd5b3]
2023-07-11 09:28:26 +05:30