Граф коммитов

748 Коммитов

Автор SHA1 Сообщение Дата
Siu Chi Chan cfdd30183d Link tests to required libraries (#124)
A lot of the unit tests make use of the C++ thread library but the
cmakefile doesn't explicitly link them to the pthread library but
instead rely on hipcc to implicitly link in the pthread library.
Some tests that rely on librt have a similar issue.  The tests
break when we are cleaning up hipcc by removing the implcit linking
to those libraries.

[ROCm/hip-tests commit: 500dc6f69a]
2023-01-20 12:22:13 -08:00
Rahul Garg f57c5a26ef Temporarily disable failing tests (#131)
Disable testing Unit_hipMemcpy_Positive_Synchronization_Behavior on NV.

[ROCm/hip-tests commit: 888983f1d7]
2023-01-20 11:12:00 -08:00
Rahul Garg ca57f979a0 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


[ROCm/hip-tests commit: 961245e9f4]
2023-01-19 14:09:14 -08:00
Maneesh Gupta f6537beee3 Fix merge issues in memory unit tests (#123)
[ROCm/hip-tests commit: 75bb521e18]
2023-01-17 21:54:27 +05:30
Mirza Halilčević 89cf6ce4bb EXSWHTEC-99 - Reimplement tests for hipStreamAttachMemAsync (#52)
- Negative parameter tests
- Validate basic behavior
- Validate the behavior when pageable memory access is supported
- Validate the behavior for hipMemAttachGlobal
- Validate the behavior for hipMemAttachHost
- Validate the behavior for hipMemAttachSingle

[ROCm/hip-tests commit: 8ae538a341]
2023-01-17 17:28:57 +05:30
Mirza Halilčević 848418ec9b EXSWHTEC-69 - Implement tests for hipMemRangeGetAttributes (#51)
- Negative parameter tests for hipMemRangeGetAttribute and hipMemRangeGetAttributes
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributeReadMostly
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributePreferredLocation
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributeLastPrefetchLocation
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributeAccessedBy
- Validate the behavior of hipMemRangeGetAttributes

[ROCm/hip-tests commit: 203b994230]
2023-01-17 17:27:58 +05:30
nives-vukovic 85f21808ec EXSWHTEC-72 - Implement hipMemcpyPeer/hipMemcpyPeerAsync and hipMemGetAddressRange tests (#34)
- Reimplement and expand hipMemcpyPeer/hipMemcpyPeerAsync tests using resource guards
- Implement positive and negative test for hipMemGetAddressRange

[ROCm/hip-tests commit: 647908ccb7]
2023-01-17 17:26:45 +05:30
nives-vukovic 042cdb088a EXSWHTEC-91 - Implement tests for memcpy of 1D/2D hipArray (#32)
- Implement tests for hipMemcpyAtoH using resource guards and templates
- Implement tests for hipMemcpyHtoA using resource guards and templates
- Implement tests for hipMemcpy2DFromArray using resource guards and templates
- Implement tests for hipMemcpy2DToArray using resource guards and templates

[ROCm/hip-tests commit: 9d62df85a1]
2023-01-17 17:26:17 +05:30
nives-vukovic 8a141b0b91 EXSWHTEC-92 - Implement tests for async memcpy of 2D hipArray (#31)
- Implement tests for hipMemcpy2DFromArrayAsync using resource guards and templates
- Implement tests for hipMemcpy2DToArrayAsync using resource guards and templates

[ROCm/hip-tests commit: 818923bfbc]
2023-01-17 17:25:54 +05:30
music-dino dfe0430673 EXSWHTEC-149 - Implement tests for hipExternalMemoryGetMappedBuffer for the Vulkan API (#25)
- Basic positive test
- Negative parameter tests

[ROCm/hip-tests commit: a3e1dcd26c]
2023-01-17 17:25:07 +05:30
music-dino 41ea5775ea EXSWHTEC-68 - Implement tests for hipMalloc and hipExtMallocWithFlags (#19)
- Basic positive tests
- Negative parameter tests

[ROCm/hip-tests commit: 6c54bd9e37]
2023-01-17 17:24:41 +05:30
music-dino 9b9292bbdd EXSWHTEC-70 - Reimplement tests for hipMemPrefetchAsync (#17)
- Basic positive tests
- Negative parameter tests

[ROCm/hip-tests commit: 47d9bf2b3f]
2023-01-17 12:26:04 +05:30
music-dino 8237f2a7cd EXSWHTEC-74 - Implement tests for hipMemcpy and derivatives (#15)
- Basic positive tests
- Negative parameter tests

[ROCm/hip-tests commit: f5eb0da5c1]
2023-01-17 12:25:43 +05:30
ROCm CI Service Account 6b75a1e06c SWDEV-306122 - [catch2][dtest] Added test for hipGraphUpload API (#89)
Change-Id: If0cd652926c1308d8185648516256e13a7b3e5fd

[ROCm/hip-tests commit: fb919e7995]
2023-01-16 16:31:47 +05:30
ROCm CI Service Account 71eed91199 SWDEV-306122 - [catch2][dtest] hipGraphCreate, hipGraphDestroy and hipGraphExecDestroy APIs test (#79)
Change-Id: I8219122c6c0f85a70a22f66037c0f2920047ab8b

[ROCm/hip-tests commit: b8a83b3cc4]
2023-01-16 16:31:04 +05:30
ROCm CI Service Account 8aa64d8df3 SWDEV-306122 - [catch2][dtest] Modify some negative test hipGraphMemcpyNodeSetParams1D (#76)
Change-Id: Ie75c1b55b35efda98db77c425e73d495c7e0083d

[ROCm/hip-tests commit: 9a93994fcf]
2023-01-16 16:30:50 +05:30
ROCm CI Service Account 1e17fc7df7 SWDEV-376488 - Avoid stripping of executables in deviceLib (#118)
Avoids packaging failure

Change-Id: I5941feb6e000664fd4afab2d430d865c21b90d72

[ROCm/hip-tests commit: f47b66b976]
2023-01-13 14:02:20 +05:30
ROCm CI Service Account 4f18c1fc48 SWDEV-357759 - [catch2][dtest] Adding additional functional tests for hipStreamIsCapturing() API (#113)
Change-Id: I5629152cb7b14965dafc2383e47fdc66d805283c


[ROCm/hip-tests commit: 7f440c468c]
2023-01-11 12:05:37 -08:00
ROCm CI Service Account a347fa3020 SWDEV-357759 - [catch2][dtest] Adding additional functional tests for hipStreamGetCaptureInfo and hipStreamGetCaptureInfo_v2 APIs (#114)
Change-Id: I304c973330dc5682541c69c89eded418b3d30fd5


[ROCm/hip-tests commit: 461852afcf]
2023-01-10 15:49:05 -08:00
ROCm CI Service Account 22c2e051d2 SWDEV-351024 - [catch2][dtest] Adding test cases for hipMemGetInfo() when HIP_HIDDEN_FREE_MEM is set. (#115)
Change-Id: I13ba98bfd73a253670faa1ed30aaef01abe5d1e5

[ROCm/hip-tests commit: 11e8ea9b4e]
2023-01-10 17:16:04 +05:30
Satyanvesh Dittakavi 5d25842d1e SWDEV-369555 - Skip hipMemAdvise Negative test (#109)
[ROCm/hip-tests commit: 5d44c0d073]
2023-01-10 17:13:24 +05:30
ROCm CI Service Account c069927c13 SWDEV-372064 - Check peer access supported before enable or disable it. (#81)
Change-Id: I32263089be3f00f3503422dcb63726eb2a2930bf

[ROCm/hip-tests commit: c051a4395b]
2023-01-10 17:12:42 +05:30
ROCm CI Service Account 0e95a258f1 SWDEV-367751 - [catch2][dtest] Adding functional and negative tests for hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags() API (#74)
Change-Id: Id562969e367b85f83ec6c42985f0d525036342b3

[ROCm/hip-tests commit: 709906e662]
2023-01-10 17:11:59 +05:30
ROCm CI Service Account cdb7a85ad6 SWDEV-366390 - [catch2][dtest] Adding additional functional tests for hipGraphInstantiate() API (#116)
Change-Id: I6fc2b59d11244f61e15461eb2796c46c6b820013

[ROCm/hip-tests commit: c4caabb02d]
2023-01-09 20:54:30 -08:00
ROCm CI Service Account 1d98165fe8 SWDEV-373231 - Disable as __builtin_amdgcn_flat_atomic_fmax_f64 and __gfx90a__ are not getting resolved properly with hipRTTC generated header. (#110)
Change-Id: I552706d874f1629de978891a4950c8deec3e2ac0


[ROCm/hip-tests commit: 07ed458d3a]
2023-01-09 16:49:21 -08:00
Maneesh Gupta 9ceef1fdc7 Disable complex hipGraphDestroyNode tests (#111)
Disable:
- Unit_hipGraphDestroyNode_Complx_ChkNumOfNodesNDep
- Unit_hipGraphDestroyNode_Complx_ChkNumOfNodesNDep_ClonedGrph
- Unit_hipGraphDestroyNode_Complx_ChkNumOfNodesNDep_ChldNode

[ROCm/hip-tests commit: 829dc229b5]
2023-01-09 17:30:31 +05:30
ROCm CI Service Account d8b7cb28ff SWDEV-337452 - Changing Clock64 to WallClock64 in tests for gfx11. (#78)
Change-Id: I484fe9ff7cd56c70a37a3ac5a4a55812f8557259


[ROCm/hip-tests commit: 87fac87657]
2023-01-06 15:05:21 -08:00
ROCm CI Service Account 9bc91a13b2 SWDEV-366390 - [catch2][dtest] Adding additional functional tests for hipGraphDestroyNode() API (#101)
Change-Id: Ia906f9a1c409c1d694be9089f75e939729e6103b


[ROCm/hip-tests commit: 70c61d55a4]
2023-01-06 12:00:07 -08:00
agunashe 1af3cd3067 SWDEV-327563 - skip Unit_hipGraphChild_hipUserObject_hipGraphUserObject (#108)
Test times out in Nvidia but passes in AMD.
Skipping temporarily till issue is fixed

[ROCm/hip-tests commit: 9c6c665f65]
2023-01-06 13:57:48 +05:30
ROCm CI Service Account 650dea002d SWDEV-306122 - [catch2][dtest] hipGraphAddMemcpyNode1D APIs test added (#102)
Change-Id: I59dc915255f3c57c2b1f13869fbd375856310441

[ROCm/hip-tests commit: 09c6d3b15c]
2023-01-05 17:09:40 -08:00
ROCm CI Service Account 171cca2ad1 SWDEV-306122 - [catch2][dtest] Added test for hipGraphDebugDotPrint API (#103)
Change-Id: I5048bbab3239ae44c674ab7591726cae1654029a

[ROCm/hip-tests commit: b21980bd21]
2023-01-04 18:32:24 -08:00
ROCm CI Service Account db640a0350 SWDEV-367611 - [catch2][dtest] Added function and complex scenarios with hipGraphCloneComplx API (#104)
Change-Id: Icdcd17dc34d31d0de129777d00a65bf6300b5514


[ROCm/hip-tests commit: 88ccea4635]
2023-01-04 17:26:28 -08:00
Mirza Halilčević 8f3c726bfe EXSWHTEC-169 - Implement additional tests for Kernel Graph Node APIs (#7)
- Tidy up hipGraphAddKernelNode tests
- Tidy up hipGraphKernelNodeGetParams tests
- Tidy up hipGraphKernelNodeSetParams tests
- Tidy up hipGraphExecKernelNodeSetParams tests.
- Disable failing test sections on AMD.

[ROCm/hip-tests commit: e710eeea8d]
2022-12-29 13:17:28 +05:30
milos-mozetic 32f354cb2d EXSWHTEC-200 - Create documentation detailing groups of tests (#5)
- Customized Doxygen configuration named DoxyfileTests is added, as well as separate header file used for definition of test groups.
- Add support for TEMPLATE_TEST_CASE preprocessing
- Extend the PREDEFINED list to define all macro names to include #if and #ifdef sections in documentation

[ROCm/hip-tests commit: 4dc52105c0]
2022-12-29 13:15:34 +05:30
Rahul Garg 553f5730fd SWDEV-366868 - Fix hip-catch-amd rpm installation issue
[ROCm/hip-tests commit: fa31755c58]
2022-12-14 21:44:26 +00:00
arjun-raj-kuppala a063d591ad Create jenkinsfile (#3)
[ROCm/hip-tests commit: b177875344]
2022-12-14 17:28:10 +05:30
Rahul Garg 6f89047bfa SWDEV-355313 - Merge remote-tracking branch 'hip/amd-staging' into amd-staging
Change-Id: I96ef1395f75089ad701ca637f5c0273d280e849b


[ROCm/hip-tests commit: 0571115bed]
2022-12-12 20:15:49 +00:00
Rahul Garg f4aab431bf SWDEV-355313 - Merge remote-tracking branch 'hip/amd-staging' into amd-staging
Change-Id: I778056b2271d72812759882b98be33f8f3ea8464


[ROCm/hip-tests commit: 8eb4a19832]
2022-12-10 00:11:19 +00:00
Rahul Garg 68cd2cc79f SWDEV-355313 - Update latest code
Change-Id: I9c03cde09b42c8e3726153c2a177359efc8d6d29


[ROCm/hip-tests commit: ee16668c87]
2022-12-06 04:50:56 +00:00
Maneesh Gupta b75decfdc1 Update hipDeviceReset.cc
- Don't destroy the stream after reset since behavior is not consistent.

[ROCm/hip-tests commit: 7edaf99a1c]
2022-12-05 08:56:05 +05:30
Maneesh Gupta 42473cea0a Remove hipGetSymbolSizeAddress.cc from AMD compilation temporarily
[ROCm/hip-tests commit: b1026e1162]
2022-12-02 12:41:06 +05:30
Rahul Garg 372621474f SWDEV-355313 - Update README
Change-Id: Ief96e274f4143e80ceb3e40f04d38ae217777583


[ROCm/hip-tests commit: 9dd100f748]
2022-12-02 04:48:08 +00:00
Mirza Halilčević 1ebac1664e EXSWHTEC-3 - Implement tests for hipDeviceReset (#2873)
* Implement tests for hipDeviceReset

- Basic test for behaviour validation
- Multithreaded test similar to basic test.

* Update license boilerplate.

Signed-off-by: Dino Music <dino.music@htecgroup.com>

* EXSWHTEC-3 - Add stream and memory checks to hipDeviceReset tests.

* EXSWHTEC-3 - Corrected expected error code for hipStreamDestroy

* EXSWHTEC-3 - Corrected check ordering in
Unit_hipDeviceReset_Positive_Threaded test.

* EXSWHTEC-3 - Exclude hipDeviceSetGetCacheConfig checks for AMD

* EXSWHTEC-3 - Corrected merge error in device/CMakeLists.txt

* EXSWHTEC-3 - Remove NVIDIA guards from tests and relax the code.

* EXSWHTEC-3 - Update tests to take into account unsupported operations on AMD

* EXSWHTEC-3 - Fix bug in Unit_hipDeviceReset_Positive_Threaded test.

* EXSWHTEC-3 - Disable hipDeviceReset tests for AMD.


[ROCm/hip-tests commit: 65ba7da607]
2022-11-30 20:37:20 -08:00
music-dino 02c8a5783e EXSWHTEC-81 - Implement tests for hipGetSymbolAddress and hipGetSymbolSize (#3002)
- Implement negative tests for hipGetSymbolAddress
- Implement negative tests for hipGetSymbolSize
- Reimplement positive test for both apis
- Expand positive test with memcpy to and from symbol
- Disable test sections that cause a segfault in CUDA

[ROCm/hip-tests commit: bcdb3a7ece]
2022-11-30 17:28:13 +05:30
ROCm CI Service Account 5295986373 SWDEV-351024 - [catch2][dtest] Multiprocess test cases for the API hipMemGetInfo() (#2864)
Change-Id: Icaf780a4f11e8f62622b3f81ba84646c734d79e1

[ROCm/hip-tests commit: 4ea304f45d]
2022-11-30 15:27:36 +05:30
ROCm CI Service Account c1ff2f385c SWDEV-241672 - Catch2 dtest migration of hipMathFunctions.cpp having pow tests (#2595)
* SWDEV-241672 - Catch2 dtest migration of hipMathFunctions.cpp having pow tests

Change-Id: I13961461398439534dd5dfd91d9dcd5fbb8ca124

[ROCm/hip-tests commit: e18406066e]
2022-11-30 15:27:07 +05:30
ROCm CI Service Account 9b07f28878 SWDEV-363038 - Add Unit_hipGraphKernelNodeGetSetParams_Functional (#3062)
Add unit test: Unit_hipGraphKernelNodeGetSetParams_Functional

Add kernel node to graph with certain kernel params, now get kernel node parameters with hipGraphKernelNodeGetParams, then update the kernel node params with hipGraphKernelNodeSetParams, finally check taking effect after launching graph.

Change-Id: I2216f72f4dade6dd37663d3b0d821cb3d35d7856

[ROCm/hip-tests commit: 84bab79f1a]
2022-11-29 07:08:27 +05:30
ROCm CI Service Account 90d7c48ed3 SWDEV-345571 - Fix template parameter redefines default argument (#3101)
Change-Id: I1f22f0dd17831d31d9119e878f698312f29ce036


[ROCm/hip-tests commit: 5af8d1f92a]
2022-11-28 16:45:34 -08:00
ROCm CI Service Account e41399533b SWDEV-345188 - Windows: fix warnings while building catch (#3071)
fixes deprecated warning for 'getenv' on Windows

Change-Id: I5ecdaca451a936e843691c4611910ee338b22e46

[ROCm/hip-tests commit: d20ab63be1]
2022-11-28 20:17:09 +05:30
ROCm CI Service Account c1bfc5c652 SWDEV-346657 - add more hipStreamAcb test (#3064)
* SWDEV-346657 - add more hipStreamAcb test

Change-Id: If94628ec9c285e9689ce471931b3c40b7d3ece84

[ROCm/hip-tests commit: 0ce3886fc8]
2022-11-28 20:16:16 +05:30