Ajay
3f986eceb2
SWDEV-441112 - fix hip-tests catch build on nvidia platform
...
hip/hip_runtime.h path was not used correctly in some tests
Change-Id: I1a3f5fba352273ce366404f398bb5c2f7d6f283f
[ROCm/hip-tests commit: 1d9aadbf92 ]
2024-01-17 11:34:53 -05:00
Jatin Chaudhary
b32ac029a8
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
[ROCm/hip-tests commit: 508991225f ]
2024-01-17 10:09:51 -05:00
Jatin Chaudhary
e9cb492880
SWDEV-412457 - add algorithm header in file
...
Change-Id: I18549f612be9e0b51d4ef92c600f1ce72ab58759
[ROCm/hip-tests commit: 252fca5aa8 ]
2024-01-17 09:20:34 +00:00
Jatin Chaudhary
06292cfc6a
SWDEV-431399 - fix issues highlighted by address sanitizer
...
Change-Id: I927009a8d408bdf13677ce5cc926908fb4552441
[ROCm/hip-tests commit: a87786f060 ]
2024-01-15 04:01:36 -05:00
Ioannis Assiouras
5d5d8e52e1
SWDEV-430116 - Re-enabled fixed tests on Windows
...
Unit_hipFreeAsync_negative
Unit_hipLaunchHostFunc_multistreams
Unit_hipGraphMem_Alloc_Free_NodeGetParams_Negative
Change-Id: Ic7b00b688ded737d1762b2c8795c0772107dbb64
[ROCm/hip-tests commit: 7939517b03 ]
2024-01-12 15:25:42 +05:30
Ioannis Assiouras
12b4ce5e50
SWDEV-422655 - Fixed Unit_hipTextureMipmapRef2D
...
-Fixed and re-anabled test Unit_hipTextureMipmapRef2D_Positive_Check on windows.
-Check cuda version to prevent build issues on nvidia.
Change-Id: I7f9481f7bd9a7622197a626519c8f6a80c72768d
[ROCm/hip-tests commit: 4274ec139d ]
2024-01-11 06:45:07 -05:00
Jatin Chaudhary
f09b9af969
SWDEV-398975 - re-enable Unit_hipMemcpyWithStream_MultiThread test
...
use correct macro inside the test
Change-Id: I7034a97efe91d6c9e2d9b4e6026ec770714a01ac
[ROCm/hip-tests commit: 9704c269d0 ]
2024-01-08 06:07:14 -05:00
Jatin Chaudhary
e473199c50
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
[ROCm/hip-tests commit: af3ac29c40 ]
2024-01-08 04:21:52 -05:00
Jatin Chaudhary
3e9350ef26
SWDEV-388956 - renable Unit_hipGraphAddMemsetNode_Positive_Basic test on linux
...
Change-Id: I91bf9aba6a93d8fec2595cd1a3d5e1fb2c422e0f
[ROCm/hip-tests commit: 4305328f37 ]
2024-01-08 01:13:45 -05:00
Jatin Chaudhary
938994cd60
SWDEV-431399 - fix randomly failing timing based tests
...
use blocking context instead of time based kernel launch
Change-Id: Ib4cdf913f18c80ce8173317811c0e6e3eb5acb76
[ROCm/hip-tests commit: c364656420 ]
2024-01-08 01:13:00 -05:00
Rakesh Roy
2cb96e1709
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
[ROCm/hip-tests commit: b8c022012d ]
2024-01-05 11:17:43 +05:30
SrinivasaRao
635c7e3bf1
SWDEV-396087 - [catch2][dtest] Functional test cases for the API hipArrayGetDescriptor
...
Change-Id: Ia400b7ce9a6eeb6f008cab13100fd10a86c5127f
[ROCm/hip-tests commit: 22fe5b7803 ]
2024-01-04 09:44:00 -05:00
SrinivasaRao
0e145c5af0
SWDEV-403479 - [catch2][dtest] Enable buffered Printf test Scenarios for Windows platform.
...
Change-Id: I9c1428da5a262b81425a095dc15436621ee75ed6
[ROCm/hip-tests commit: 28eda094cc ]
2024-01-04 09:43:12 -05:00
Ioannis Assiouras
bd40edc652
SWDEV-391727 - Re-enabled Unit_hipMemRangeGetAttribute_TstCountParam
...
Change-Id: I2acc1c220dc1fa1c53e739a5e8d4614022958c16
[ROCm/hip-tests commit: 9749139e50 ]
2024-01-04 09:41:11 -05:00
Ioannis Assiouras
4046aa4c72
SWDEV-439209 - Fixed Unit_hipMemVmm_Basic
...
Change-Id: I658d30e9ab7814517383d02550c338e5aeae554e
[ROCm/hip-tests commit: 9131d555f9 ]
2023-12-29 11:22:14 +00:00
Rahul Manocha
b299b79a77
SWDEV-436821 Update hip samples Readme files
...
Change-Id: I6bf3a72eac4a4242cb2dbf4e6eee73e0e1bef2ef
[ROCm/hip-tests commit: 76dd8ea569 ]
2023-12-21 14:20:44 -05:00
Maneesh Gupta
91c9372c33
SWDEV-1 - Remove extra code added during merge conflict resolution
...
Change-Id: I57a01c6c92958cabed303fe250dd872b03b07ca4
[ROCm/hip-tests commit: f5deb13ce3 ]
2023-12-21 05:51:32 +00:00
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
Nives Vukovic
a3cc0be869
EXSWHTEC-308 - Migrate and refactor cooperative groups tests from HIP repository ( #238 )
...
Change-Id: Ib46b7c038a5bda9d05f5d55a7269a7c645b0d049
[ROCm/hip-tests commit: e0612f9346 ]
2023-12-20 10:22:01 +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
450d7159dd
EXSWHTEC-251 - Implement Performance Tests for Stream APIs ( #142 )
...
Change-Id: I790d8cadb3a94a220a52c8bdc0a23b1a63931232
[ROCm/hip-tests commit: f05f97758e ]
2023-12-20 10:22:01 +00:00
Mirza Halilcevic
f1c9884299
EXSWHTEC-141 - Implement tests for hipGraphicsUnregisterResource ( #69 )
...
Change-Id: Ied2c5e8f399a8949544e9b4aeac127e38f81845f
[ROCm/hip-tests commit: 615ac6b9ad ]
2023-12-20 10:22:01 +00:00
Mirza Halilcevic
3ee7c2ab55
EXSWHTEC-140 - Implement tests for hipGraphicsUnmapResources ( #68 )
...
Change-Id: Ib10185833caa2de58e11b42a1748aee19a27e391
[ROCm/hip-tests commit: 96223a468d ]
2023-12-20 10:22:01 +00:00
Mirza Halilcevic
cef6d3aa21
EXSWHTEC-139 - Implement tests for hipGraphicsResourceGetMappedPointer ( #67 )
...
Change-Id: Iea299ac18ebdebd4f554497e51e64c161217e68e
[ROCm/hip-tests commit: c8eae3a168 ]
2023-12-20 10:22:01 +00:00
Mirza Halilcevic
d8bb5fb081
EXSWHTEC-138 - Implement tests for hipGraphicsSubResourceGetMappedArray ( #66 )
...
Change-Id: Ic5e4c90d2e60c5d09556be8d797aaa811f950ecc
[ROCm/hip-tests commit: e3a3ea56a3 ]
2023-12-20 10:22:01 +00:00
Mirza Halilcevic
109844f386
EXSWHTEC-137 - Implement tests for hipGraphicsMapResources ( #65 )
...
Change-Id: I81f90002dba7f7be5ec2ed5fb2f07c5d98d815c0
[ROCm/hip-tests commit: 51fc7b5011 ]
2023-12-20 10:22:01 +00:00
Mirza Halilcevic
73e09677dc
EXSWHTEC-136 - Implement tests for hipGraphicsGLRegisterImage ( #64 )
...
Change-Id: Ida0cdfcf2b4fb7da397fdbc3881f3358935d9364
[ROCm/hip-tests commit: 00964ba66c ]
2023-12-20 10:22:01 +00:00
Mirza Halilcevic
06678e238b
EXSWHTEC-135 - Implement tests for hipGraphicsGLRegisterBuffer #63
...
Change-Id: Ibecd69c83b4aeebd7129aa009206893146e06cb4
[ROCm/hip-tests commit: 0fbfa9cde1 ]
2023-12-20 10:22:01 +00:00
Mirza Halilcevic
29054554ce
EXSWHTEC-134 - Implement tests for hipGLGetDevices #62
...
Change-Id: I866a1f9af975691fb92586bd62c6cf88b0376f4f
[ROCm/hip-tests commit: 1386d9df25 ]
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
Nives Vukovic
bb352913bb
EXSWHTEC-178 - Implement tests for Graph Event Node APIs #44
...
Change-Id: Id3f569d94d347af2f5e27513fa01c5a1e8e30fd9
[ROCm/hip-tests commit: 575e4cc93e ]
2023-12-20 10:22:01 +00:00
Nives Vukovic
639ba1e5f3
EXSWHTEC-172 - Hip graph launching and execution tests #36
...
Change-Id: I2cfadf6335a582f593191860d5084cb79fa411b3
[ROCm/hip-tests commit: 133521b22f ]
2023-12-20 10:22:01 +00:00
Nives Vukovic
7b29405366
EXSWHTEC-273 - Implement tests for warp shfl_xor and shfl functions #194
...
Change-Id: I8a87044ff465b0bb39f87faedc995d5052b8205f
[ROCm/hip-tests commit: 55c04d6169 ]
2023-12-20 10:22:01 +00:00
kjayapra-amd
fa69fa731c
SWDEV-322620 - Tests are disabled at .json level, no need to disabled with MACRO at compile time.
...
Change-Id: I1455b7fc9ac7011bd0430adf78864c7fb13a69dc
[ROCm/hip-tests commit: 6d8e62c0e3 ]
2023-12-19 08:21:13 -05: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
Rahul Manocha
2d432c1ca6
SWDEV-431345 - CMake build flow for hip samples 16,17
...
Change-Id: I7bfc8600511c78d8c73aa526f9846cd268651279
[ROCm/hip-tests commit: f0b5b20466 ]
2023-12-15 09:02:23 -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
Rahul Manocha
6ed9ba879b
SWDEV-437139 hip sample 22 fix
...
Change-Id: Icb7a9d759e62dab95399c81e2b68ff2cd8c24c0b
[ROCm/hip-tests commit: 1a2f1eb11c ]
2023-12-12 17:34:07 +00:00
Nives Vukovic
8c4b2675cc
EXSWHTEC-173 - Implement tests for Graph Node dependencies APIs ( #50 )
...
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/50
Change-Id: I65707d9d0bfa12c08d82779c1402215f22d7815b
[ROCm/hip-tests commit: 91ee1399df ]
2023-12-08 10:28:47 -05:00
Jatin Chaudhary
3057d60aec
SWDEV-429802 - add address sanitizer build option to hip-tests
...
Change-Id: I5662e1d7a08c81239e043ddc7b48853a414a3556
[ROCm/hip-tests commit: 7cfc4a3664 ]
2023-12-08 10:25:29 -05:00
Jaydeep Patel
2c41a3c2f4
SWDEV-411680 - Create stream after device is set.
...
Change-Id: I3eec0b6855ff9377fdd5bc34128cac9e4af9ec7f
[ROCm/hip-tests commit: cd6796db58 ]
2023-12-08 10:23:46 -05:00
Ioannis Assiouras
d614ceced0
SWDEV-433317 - Added compilation flag to report an error if vla is used
...
Change-Id: I8a03e1fece88ec52261c53684c9f66bbfc401a12
[ROCm/hip-tests commit: 3ae4d80e86 ]
2023-12-05 17:53:18 -05:00
Rahul Manocha
b821fdbfba
[SWDEV-431345][SWDEV-432633] toplevel cmake for hip samples
...
Change-Id: If22e7e96604f184458cc6ab6bb9945152f9359e0
[ROCm/hip-tests commit: 7481de706f ]
2023-12-05 11:36:15 -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
Maneesh Gupta
38bd0db481
SWDEV-388833 - Fix potential build issues with gcc tests
...
Change-Id: I53c109ebaed60b085069d862d87ac8a3597331c5
[ROCm/hip-tests commit: da89b3e76e ]
2023-11-30 01:19:22 -05:00
Rakesh Roy
16691f6e85
SWDEV-425678 - Fix build failure in HIP samples
...
- Due to file reorg path changes cmake fails at find_package(hip) unless CMAKE_PREFIX_PATH is set explicitly
- Update CMakeLists.txt to set CMAKE_PREFIX_PATH
- Update Readme
Change-Id: Ibdb4419efcdd6583b059a728e48dfdb8f927a48b
[ROCm/hip-tests commit: 4dfa7ca7e6 ]
2023-11-27 12:56:29 -05: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
vinay birur
dd4065b1fd
SWDEV-388833 - [catch2][dtest] gcc tests migrated to catch2
...
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/359
Change-Id: I3c0330cd1585a49531968f295ecee12227ebaee2
[ROCm/hip-tests commit: 0fcf383c36 ]
2023-11-27 06:59:16 -05:00