Commit Graph

55 Commits

Author SHA1 Message Date
Rakesh Roy d7789d328c SWDEV-439004, SWDEV-440021 - Fix GL Interop & Unit_hipP2pLinkTypeAndHopFunc testcases
- hipGLDeviceListNextFrame is not supported yet
- Initialize GL interop before calling interop related APIs
- Skip GL interop tests when display is not connected
- Load librocm_smi64.so from /opt/rocm/lib/

Change-Id: Ie4879c18317aa377a95d6f2d0d5314d4adf38649
2024-03-08 12:13:39 -05:00
Ioannis Assiouras 43de39ad9f SWDEV-449805 - Disable Unit_atomicMin_Positive* tests for float and double types
Change-Id: I92440ec167c8ce7a18ed41ac7fba6c1b6f5597b6
2024-03-07 14:44:51 +00:00
Jatin Chaudhary a36e873054 SWDEV-409660 - renable Unit_hipStreamValue_Write test
Tested on Navi33 repeated 50 times.

Change-Id: I02d5ff31441346aa2d0049676f546d1523d92b23
2024-03-06 11:28:02 -05:00
Rakesh Roy 57bc68acb1 SWDEV-1 - Merge github PRs to amd-staging
Change-Id: I2944a63ddc2eec8dc1403d9790ffffbaec343385
2024-03-06 00:12:20 +05:30
Rakesh Roy f7347f5ea2 SWDEV-446588 - Disable graph multi gpu testcases
- Disable graph multi gpu testcases until graph has support for it

Change-Id: I7be60247f649024f7468c71e374698d0fab46c3f
2024-02-29 11:04:17 +05:30
Mirza Halilčević 147601aff2 EXSWHTEC-354 - Implement additional tests for integer intrinsics #430
Change-Id: Icd155c2d2121bd9d25e7ac6ece9599553956457c
2024-02-27 23:16:47 +05:30
Nives Vukovic b9ea146b28 EXSWHTEC-331 - Implement tests for half-precision comparison functions #411
Change-Id: I378ec4922dc5d3807d5418d690972708549ec764
2024-02-27 23:08:55 +05:30
Mirza Halilčević 34da562ff5 EXSWHTEC-118 - Implement tests for hipFuncGetAttribute #61
Change-Id: Ie817859ef51701a3758dd44736e947c5b20c2d46
2024-02-27 22:43:32 +05:30
Mirza Halilčević 2691895821 EXSWHTEC-359 - Implement tests for 3D mipmapped texture device functions #433
Change-Id: I1933d498f518b352b91b1c37b24c62d0cac309eb
2024-02-27 12:13:39 +05:30
Mirza Halilčević 90a783c959 EXSWHTEC-358 - Implement tests for 2D mipmapped texture device functions #432
Change-Id: I8d517ef95eeddfcc442f00e331e3ed0d1123d99c
2024-02-27 12:13:13 +05:30
Mirza Halilčević 20a3811696 EXSWHTEC-345 - Implement tests for hipPointerSetAttribute #427
Change-Id: I71e4eb3aab07eff8e24f54fa266a3971839501d1
2024-02-26 22:29:06 +05:30
Nives Vukovic 95a75cf00f EXSWHTEC-286 - Implement tests for log device math functions #230
Change-Id: I642a9d865fcc30d7b303b0d4dd05fcd723a59015
2024-02-26 12:29:19 +05:30
Mirza Halilcevic 044a59496c EXSWHTEC-281 - Implement Unit Tests for assert functions #210
Change-Id: I6c05915c957d9b67951b3e97cc35cb1ca72a945f
2024-02-23 20:45:53 +05:30
Rakesh Roy 96df1fde80 SWDEV-1 - Merge github PRs to amd-staging
- https://github.com/ROCm/hip-tests/pull/119
- https://github.com/ROCm/hip-tests/pull/151
- https://github.com/ROCm/hip-tests/pull/57
- https://github.com/ROCm/hip-tests/pull/58
- https://github.com/ROCm/hip-tests/pull/59
- https://github.com/ROCm/hip-tests/pull/60
- https://github.com/ROCm/hip-tests/pull/99
- https://github.com/ROCm/hip-tests/pull/139
- https://github.com/ROCm/hip-tests/pull/152
- https://github.com/ROCm/hip-tests/pull/48
- https://github.com/ROCm/hip-tests/pull/54
- https://github.com/ROCm/hip-tests/pull/53
- https://github.com/ROCm/hip-tests/pull/24
- https://github.com/ROCm/hip-tests/pull/23
- https://github.com/ROCm/hip-tests/pull/22
- https://github.com/ROCm/hip-tests/pull/21
- https://github.com/ROCm/hip-tests/pull/20
- https://github.com/ROCm/hip-tests/pull/14
- https://github.com/ROCm/hip-tests/pull/8

Change-Id: I1eea54cd1436f3ddbfd5c1b3b2f672eb81d03cd4
2024-02-23 20:42:03 +05:30
Mirza Halilčević 053c58ab2d EXSWHTEC-108 - Implement tests for hipFuncGetAttributes #58
Change-Id: I7aa979434724aa3d39343a6c69f67de83e61de4c
2024-02-19 23:30:34 +05:30
Mirza Halilčević 380ace735f EXSWHTEC-115 - Implement tests for hipLaunchCooperativeKernel APIs #59
Change-Id: I5bda5ee3787a73aeeab5c25c05278e7aa2f8bfa2
2024-02-19 23:30:13 +05:30
Mirza Halilčević 3f65d7a410 EXSWHTEC-114 - Implement tests for hipExtLaunchKernel APIs #60
Change-Id: I9152c31c2c07ddbfb48865cd68a42557e763be28
2024-02-19 23:29:52 +05:30
Mirza Halilčević cefbaed5cf EXSWHTEC-217 - Implement new and update existing tests for the hipGraph*MemcpyNode family of APIs #48
Change-Id: Iae7ac9c855ba6e3288257e99e49f8b16cebb1bac
2024-02-19 22:58:36 +05:30
Mirza Halilcevic 72aa591328 EXSWHTEC-113 - Implement tests for hipModuleGetTexRef #24
Change-Id: I5fe18f2ca977a740e29dda356b68ea4eb6e0565f
2024-02-19 22:57:08 +05:30
Mirza Halilcevic ce7e67ac39 EXSWHTEC-80 - Implement tests for hipModuleGetGlobal #23
Change-Id: I873ef5c977ec252425b81e3ed7ea33c861277efb
2024-02-19 22:56:44 +05:30
Mirza Halilcevic 2c6d940ac0 EXSWHTEC-109 - Implement tests for the hipModuleLoad family of APIs and hipModuleUnload #20
Change-Id: I19d6534af2c33046dc3862372d45f32b6ccc6ad1
2024-02-19 22:54:02 +05:30
Rakesh Roy 978e165d33 SWDEV-1 - Merge github PRs to amd-staging
- https://github.com/ROCm/hip-tests/pull/154
- https://github.com/ROCm/hip-tests/pull/438
- https://github.com/ROCm/hip-tests/pull/425
- https://github.com/ROCm/hip-tests/pull/424
- https://github.com/ROCm/hip-tests/pull/423
- https://github.com/ROCm/hip-tests/pull/365
- https://github.com/ROCm/hip-tests/pull/356
- https://github.com/ROCm/hip-tests/pull/279
- https://github.com/ROCm/hip-tests/pull/274
- https://github.com/ROCm/hip-tests/pull/190
- https://github.com/ROCm/hip-tests/pull/189
- https://github.com/ROCm/hip-tests/pull/188
- https://github.com/ROCm/hip-tests/pull/156
- https://github.com/ROCm/hip-tests/pull/49
- https://github.com/ROCm/hip-tests/pull/439
- https://github.com/ROCm/hip-tests/pull/437
- https://github.com/ROCm/hip-tests/pull/436
- https://github.com/ROCm/hip-tests/pull/435
- https://github.com/ROCm/hip-tests/pull/193

Change-Id: I2529d0baf0f8d47d6215863321720cde2b1a846c
2024-02-19 15:33:25 +05:30
Rakesh Roy ec4f35f184 SWDEV-443760 - Disable Unit_hipGraphExecMemcpyNodeSetParams1D_Negative
- This test fails when device memory is used for kernel args

Change-Id: I37fcb94735fcd219fca06c18ff76e1f79f233375
2024-02-16 01:04:16 -05:00
Nives Vukovic 54f0642d76 EXSWHTEC-35 - Implement tests for hipMallocAsync and hipMallocFromPoolAsync (#438)
Change-Id: I5cc2ec8078d0de3ddc447ba4bdca74a159f77b12
2024-02-15 19:41:25 +05:30
Nives Vukovic 2f783afe8c EXSWHTEC-316 - Implement tests for Complex type functions (#356)
Change-Id: I67d5e1fd02c7e40319f135bc9ae5bbbde85b5ee7
2024-02-15 19:41:24 +05:30
Jaydeep Patel d86cc4492f SWDEV-396963 - Enable Unit_hipMemcpy2DFromArrayAsync_Positive_Synchronization_Behavior.
Change-Id: I47f41260bfe8e16c09b2442c8d182087afed553a
2024-02-12 09:39:23 -05:00
Jatin Chaudhary 5e766685c8 SWDEV-440095 - remove the test Unit_hipLaunchCooperativeKernel_Streams
The test checks the pattern of thing "A" should be always faster than
thing "B". Which might not be the case for several reasons and will result
in unreliable, randomly failing test.

Change-Id: I6fa9e2c110f9ef48ef63a720e7a64c54e7f2a72f
2024-01-24 04:28:58 -05:00
Jatin Chaudhary 9704c269d0 SWDEV-398975 - re-enable Unit_hipMemcpyWithStream_MultiThread test
use correct macro inside the test

Change-Id: I7034a97efe91d6c9e2d9b4e6026ec770714a01ac
2024-01-08 06:07:14 -05:00
Jatin Chaudhary af3ac29c40 SWDEV-430619 - fix Unit_hipDeviceGetUuid_From_RocmInfo test
Ignore the iGPU when iterating rocminfo and correct the bounds check
when matching results with HIP API. Also do not compare bytes directly,
use string to do a string compare as it can go out of bounds.
Disabling this test on windows till I get hold of a working windows
machine.

Change-Id: Icf811e0310776567afecea92e1d54e8438b39235
2024-01-08 04:21:52 -05:00
Jatin Chaudhary 4305328f37 SWDEV-388956 - renable Unit_hipGraphAddMemsetNode_Positive_Basic test on linux
Change-Id: I91bf9aba6a93d8fec2595cd1a3d5e1fb2c422e0f
2024-01-08 01:13:45 -05:00
Rakesh Roy b8c022012d SWDEV-439004, SWDEV-439298, SWDEV-438556, SWDEV-438524 - Disable tests failing in CQE staging, PSDB stress testing
- Disable tests failing in CQE staging
- Disable tests failing, causing TDR during PSDB stress testing

Change-Id: I81030ec411082a579b64510800f90bf107024766
2024-01-05 11:17:43 +05:30
Ioannis Assiouras 9749139e50 SWDEV-391727 - Re-enabled Unit_hipMemRangeGetAttribute_TstCountParam
Change-Id: I2acc1c220dc1fa1c53e739a5e8d4614022958c16
2024-01-04 09:41:11 -05:00
Maneesh Gupta 6429ef1b60 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
2023-12-20 10:39:37 +00:00
Nives Vukovic bb791d8e86 EXSWHTEC-105 - Implement tests for hipModuleOccupancyMaxActiveBlocksPerMultiprocessor and hipModuleOccupancyMaxPotentialBlockSize APIs #47
Change-Id: I4e51bb999f43c4f304ed4712dadc3fc1aae3f7a4
2023-12-20 10:22:01 +00:00
Rakesh Roy 24e2f429ca 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
2023-12-18 20:49:43 +05:30
Rupam Chetia de348d8b35 SWDEV-322620 - [catch2][dtest] Adding test for VMM APIs
Change-Id: Ia4dea28601b3c2f0163012a7a2ceb14d3a0c369b
2023-12-16 07:28:16 -05:00
Jatin Chaudhary 39aeb7b42e 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
2023-12-13 17:12:16 +00:00
Jatin Chaudhary da6e008456 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
2023-12-13 11:51:29 -05:00
Satyanvesh Dittakavi 4a60fe5fd1 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
2023-12-05 08:09:56 +00:00
Tao Sang d04b8bf458 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
2023-11-27 09:43:41 -05:00
Rakesh Roy 2ecfc56b6f 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
2023-11-26 03:54:24 -05:00
Jaydeep Patel a18d7bc316 SWDEV-362372 - Enable Unit_hipStreamWaitEvent_UninitializedStream_Negative.
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/220

Change-Id: I232de264ac0385513f66f289a081ed6e03d181dd
2023-11-24 05:41:01 -05:00
Jaydeep Patel e5d82f128d 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
2023-11-17 06:01:10 -05:00
Rakesh Roy 6196d105b3 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
2023-11-17 01:39:08 +05:30
Rakesh Roy 8773e3a90a 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
2023-11-06 13:22:42 -05:00
Todd tiantuo Li 96b85efe72 SWDEV-425217 - disable StreamCreate Performance tests since they may fail on all configs
Change-Id: I69f6dfdd3814089480525dce296be93dcef20cb9
2023-11-06 11:49:53 -05:00
Ioannis Assiouras 9290cc3c31 SWDEV-391998 - Fix and re-enable Unit_hipMallocManaged_OverSubscription
Change-Id: I896ad5a4894e7a63ad15308838e15601f2e3540c
2023-11-06 08:13:11 -05:00
Rakesh Roy 31dbd1970a 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
2023-11-03 14:35:04 -04:00
Jatin Chaudhary 905b943769 SWDEV-425943 - skip certain tests for gfx90a+
Change-Id: I055182144d5a5e470e5cca81306f7d7c838792d9
2023-11-02 05:39:45 -04:00
Rakesh Roy ef1b576a8f 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
2023-10-16 11:21:33 -04:00