Commit Graph

502 Commits

Author SHA1 Message Date
music-dino f80f85f252 EXSWHTEC-193 - Implement new and update existing tests for the hipGraph*MemsetNode family of APIs (#12)
- Implement positive and negative tests for hipGraphAddMemsetNode
- Implement positive and negative tests for hipGraphMemsetNodeSetParams
- Implement positive and negative tests for hipGraphExecMemsetNodeSetParams
- Implement negative tests for hipGraphMemsetNodeGetParams
- Add doxygen annotations
- Add a dynamic section in positive test for memset for different dimensions

[ROCm/hip-tests commit: 77a37371b0]
2023-03-06 13:43:45 +05:30
nives-vukovic c365761137 EXSWHTEC-145 - Implement tests for Stream Capture APIs (#11)
Implement tests for hipStreamUpdateCaptureDependencies, hipThreadExchangeStreamCaptureMode and hipLaunchHostFunc
- Refactor existing tests by including more catch2 features
- Reduce code line numbers by using helper guard classes
- Add some positive and negative tests
- Add doxygen test descriptions

[ROCm/hip-tests commit: 4580864fa1]
2023-03-06 13:41:54 +05:30
nives-vukovic 8a7716146e EXSWHTEC-198 - Implement tests for hipStreamGetCaptureInfo, hipStreamGetCaptureInfo_v2 and hipStreamIsCapturing (#195)
- Refactor existing tests by including more catch2 features
- Reduce code line numbers by using helper guard classes
- Add some positive and negative tests
- Add doxygen test descriptions

[ROCm/hip-tests commit: 638e2aabeb]
2023-03-06 13:39:35 +05:30
music-dino c26ed2c1ea EXSWHTEC-192 - Implement new and update existing tests for the hipGraph*MemcpyNode[From|To]Symbol family of APIs (#13)
* EXSWHTEC-192 - Implement new and update existing tests for the hipGraph*MemcpyNode[From|To]Symbol family of APIs
- Generalize from symbol positive test to work for different types
- Implement negative parameter tests
- Extract common code for to/from copy
- Reorganize files

[ROCm/hip-tests commit: f1151e3c6d]
2023-03-06 09:00:35 +05:30
milos-mozetic e622569dc7 EXSWHTEC-174 - Implement unit tests for Callback Activity APIs (#6)
Implemented positive and negative test cases for the following APIs:
        - hipApiName
        - hipKernelNameRef
        - hipKernelNameRefByPtr
        - hipGetStreamDeviceId
Enabled build of Callback tests only for AMD platforms, as there is no support for Nvidia platforms.

[ROCm/hip-tests commit: 72e6432739]
2023-03-06 08:58:26 +05:30
ROCm CI Service Account 3af8290717 SWDEV-360327 - [catch2][dtest] Test cases added for hipLaunchHostFunc API (#170)
Change-Id: I0d92ed0d8e97a2f7b34cc89dd6dcffa2236ee308


[ROCm/hip-tests commit: 12fb9350ad]
2023-03-01 17:31:07 -08:00
ROCm CI Service Account 228cc72137 SWDEV-359379 - Fix for vulkan tests with STANDALONE_EXE flag (#143)
Change-Id: Ib2019427ae7c1fe6a7c96efc293608ba26c27d85

[ROCm/hip-tests commit: d6f2962c78]
2023-03-01 20:36:11 +05:30
ROCm CI Service Account 089071ed6c SWDEV-380405 - Correct test cases. (#165)
Change-Id: I55f2e2273a19643b14baeebc8a6f19331c20b09d

[ROCm/hip-tests commit: b95d567769]
2023-03-01 20:35:51 +05:30
ROCm CI Service Account a64b929968 SWDEV-382397 - Add hipStreamSynchronize() (#166)
Make sure the queue is done before exit.

Change-Id: I1011514211d665d3e1f0e93abcc38f08b2e3c375

[ROCm/hip-tests commit: de3e0c92b7]
2023-03-01 19:02:23 +05:30
ROCm CI Service Account 74b04d86af SWDEV-364623 - add proper sync to Unit_hipGraphMemcpyNodeSetParamsToSymbol_Functional (#167)
Change-Id: I7fffb89823c43883f6e3764f2422cb0b1cc12bcf

[ROCm/hip-tests commit: 82339b5234]
2023-03-01 10:14:34 +05:30
ROCm CI Service Account ef21b502d4 SWDEV-364621 - add proper sync to Unit_hipGraphExecMemcpyNodeSetParamsToSymbol_Functional (#177)
Change-Id: I3400d80369a8adb474d582a1b6b5017ac9e90e45

[ROCm/hip-tests commit: f270b6c49a]
2023-02-28 12:05:17 +05:30
ROCm CI Service Account 827d73231d SWDEV-357759 - [catch2][dtest] Adding additional functional tests for hipStreamEndCapture() API (#112)
Change-Id: I45907c7601a4f522c798e9d2a47466636640a02d

[ROCm/hip-tests commit: cd7144f75f]
2023-02-28 12:04:44 +05:30
ROCm CI Service Account 9478f04cc2 SWDEV-373476 - [catch2][dtest] hipGraphUpload API test case added with priority stream (#172)
Change-Id: I0b743c759efbd112de2428d6a07a537c66465247

[ROCm/hip-tests commit: f5367f3bc8]
2023-02-28 12:03:37 +05:30
ROCm CI Service Account b428200547 SWDEV-357695 - [catch2][dtest] hipGraphNodeGetEnabled API test case added (#91)
Change-Id: I71a9b9acfdd75403ddd6c4cf1876be2b4ca80eda

[ROCm/hip-tests commit: eaf4403b17]
2023-02-28 11:37:49 +05:30
ROCm CI Service Account afd5fd4446 SWDEV-382074 - Check for peer access. (#169)
Change-Id: I8b931a92fc97c68556d74332984ddf17c53df7d4


[ROCm/hip-tests commit: 92f0da368f]
2023-02-27 21:20:57 -08:00
ROCm CI Service Account 6414929098 SWDEV-372504 - [catch2][dtest] Added functional tests for the API hipGraphAddMemsetNode() (#159)
Change-Id: I0701a02087feb75d9a878a9edce17cf0ee1b5b53


[ROCm/hip-tests commit: 6ef967abd7]
2023-02-27 20:36:58 -08:00
ROCm CI Service Account e9ad9e182c SWDEV-1 - Refactor of cmake files of stream and memory unit tests (#174)
Change-Id: Ie29641be95e7fb2a191f22e5d1e588d6943a430f


[ROCm/hip-tests commit: 1c4285f3df]
2023-02-27 15:55:24 -08:00
ROCm CI Service Account df0cbb7676 SWDEV-345188 - hip-tests size_t to unsigned long warning (#175)
Change-Id: Id315ba0de6900f714190a09ac09c977830360c72


[ROCm/hip-tests commit: 0a8235e5c8]
2023-02-27 15:54:39 -08:00
ROCm CI Service Account a5d36d28fb SWDEV-326250 - Adding new set 1 of test cases to test compiler flag -fgpu-default-stream=per-thread (#176)
Change-Id: I1a13ebdf366913ce938b3891cfdc549c6c618569


[ROCm/hip-tests commit: 798c4e7255]
2023-02-27 15:54:03 -08:00
ROCm CI Service Account dd1cbf1c85 SWDEV-381577 Fix access pattern of graph test - this should stop random failures on CI (#178)
Change-Id: I39026a948ed967d381f4ee10711840128a2f6f83


[ROCm/hip-tests commit: a160e355d6]
2023-02-27 15:53:24 -08:00
ROCm CI Service Account d6cc90111b SWDEV-383385 - Add hipStreamSynchronize and free device mem. (#179)
Change-Id: I43e34ae7af80de06224ce331d6ba41d9280a1661


[ROCm/hip-tests commit: c24f4cc158]
2023-02-27 15:52:48 -08:00
ROCm CI Service Account 20d7cbac2d SWDEV-366636 - Fix test timing issue (#182)
Change-Id: I7de327adc59516f5d32a8861c7810f28a5c3d22b


[ROCm/hip-tests commit: 72bffc7b27]
2023-02-27 15:52:10 -08:00
ROCm CI Service Account 80c62e3b2e SWDEV-384100 - skip building failing texture tests for CUDA 12.0 (#181)
Change-Id: Ie861d63b0525661ff64ad148e5a0151bbce7db2c

[ROCm/hip-tests commit: df20298706]
2023-02-27 15:51:15 -08:00
ROCm CI Service Account f9269a3dc2 SWDEV-357695 - [catch2][dtest] hipGraphNodeSetEnabled API test added (#82)
Change-Id: Ie7af5d79390c7a6529e379f60e57961cdac71684


[ROCm/hip-tests commit: 3d3289b453]
2023-02-23 09:01:16 -08:00
ROCm CI Service Account 9b44d48a42 SWDEV-352540, SWDEV-352480, SWDEV-351985 - updating gfx11 check (#164)
Change-Id: Ibb0b80463d1316019599cf83462d41196490ea3d


[ROCm/hip-tests commit: df911a7119]
2023-02-13 14:10:31 -08:00
ROCm CI Service Account 2b550e6815 SWDEV-371122 - Package name corrected for hip-catch-amd (#160)
Change-Id: I8ca14f50761e8f332bc0ca096594e241077f4715


[ROCm/hip-tests commit: 66ad40972a]
2023-02-09 19:38:07 -08:00
ROCm CI Service Account abfb3f99a5 SWDEV-362512 - Use macro to check NV or AMD. (#161)
Change-Id: If55a25dded52110f55d6c60cdbf0030378e5dd8b


[ROCm/hip-tests commit: 5e90a5e386]
2023-02-09 13:29:44 -08:00
Maneesh Gupta e19e50052d SWDEV-1 - Fix warnings and update disabled test list (#163)
- Fix warnings in some test cases due to unused variables or signed/unsigned comparison.
- Disabled vulkan tests on MI200.

[ROCm/hip-tests commit: 88fbbd666b]
2023-02-09 18:52:27 +05:30
ROCm CI Service Account aa1a82b9f0 SWDEV-369555 - Update and enable hipMemAdvise test (#126)
Change-Id: If291514eeacef21dea99bc4b4a78bc98fb0bc1ca

[ROCm/hip-tests commit: 554ab5dc40]
2023-02-07 13:54:34 +05:30
ROCm CI Service Account 5610865a87 SWDEV-380433 - catch tests avoid same test detection (#157)
fixes duplicate entry of tests in ctestfile

Change-Id: Ia3e213109272b296e93e7b98656b080426e6ebb3


[ROCm/hip-tests commit: 30d616d468]
2023-02-06 16:14:18 -08:00
ROCm CI Service Account 301b4dc4d3 SWDEV-364628 - [catch2][dtest] Test cases added for atomicInc and atomicDec (#121)
Change-Id: I2820423db6d588a6b638aeb30b965154843f877c

[ROCm/hip-tests commit: 5ef26cc476]
2023-02-06 12:07:40 -08:00
ROCm CI Service Account 27487bd6c6 SWDEV-366390 - [catch2][dtest] Adding additional functional tests for hipGraphGetRootNodes() (#100)
Change-Id: Ie9917780a4ba28639f509142141718f5dcf24ffc

[ROCm/hip-tests commit: d90c401529]
2023-02-05 18:04:27 -08:00
ROCm CI Service Account d9e7743107 SWDEV-371332 - remove check for non device pointers (#145)
Change-Id: Ib7e83ab1bca8c61e3710cb9dd75d9f932159476a


[ROCm/hip-tests commit: f10981bbbc]
2023-02-05 13:14:20 -08:00
music-dino 77b6cb94f5 EXSWHTEC-148 - Implement tests for hipImportExternalSemaphore and hipDestroyExternalSemaphore for the Vulkan API (#29)
- Basic positive test
- Negative parameter tests

[ROCm/hip-tests commit: 06726393d4]
2023-02-01 21:15:05 +05:30
music-dino f68e1bda9b EXSWHTEC-146 - Implement tests for hipSignalExternalSemaphoresAsync for the Vulkan API (#27)
- Basic positive tests
- Negative parameter tests

[ROCm/hip-tests commit: 311380d6ba]
2023-02-01 21:13:51 +05:30
music-dino f7e07247bd EXSWHTEC-147 - Implement tests for hipWaitExternalSemaphoresAsync for the Vulkan API (#28)
- Basic positive tests
- Negative parameter tests

[ROCm/hip-tests commit: d6f043fe37]
2023-02-01 19:43:20 +05:30
music-dino 32411730c9 EXSWHTEC-150 - Implement tests for hipImportExternalMemory and hipDestroyExternalMemory for the Vulkan API (#26)
- Basic positive tests
- Negative parameter tests

[ROCm/hip-tests commit: 9522e9343d]
2023-02-01 19:41:42 +05:30
music-dino 1d3ac7d1a5 EXSWHTEC-83 - Implement new and reimplement existing tests for hipMemAdvise (#16)
- Basic positive tests
- Negative parameter tests

[ROCm/hip-tests commit: cc0302dda3]
2023-02-01 11:50:14 +05:30
agunashe 97e4f0b084 SWDEV-327563 - Disable Unit_hipGraphRetainUserObject_Functional_2 test. (#149)
Intermittent issue: corrupted doubly linked list

[ROCm/hip-tests commit: 6b48c2f919]
2023-02-01 10:48:11 +05:30
ROCm CI Service Account 85cd1a7b51 SWDEV-366390 - [catch2][dtest] Added additional functional tests for the API hipGraphNodeGetType() (#147)
Change-Id: I1691b81d597bfd722d560778f019ebf8ca530e8e


[ROCm/hip-tests commit: 3dc3f6b942]
2023-01-30 23:00:20 -08:00
ROCm CI Service Account d052b58ad3 SWDEV-379129 - windows hip catch packaging name fix (#144)
remove the win32 from zip file name

Change-Id: I6f3aad10b137a325240a3605984c58d9e144c9a9

[ROCm/hip-tests commit: f0aba3305f]
2023-01-30 14:43:15 +05:30
ROCm CI Service Account 1e9ed092e2 SWDEV-370743 - Adding 'accelerator' keyword in lspci grep for AMD supported devices. (#134)
Change-Id: I9daed025e86654fc7d936ef86f2d069d41c393f2

[ROCm/hip-tests commit: ce9eb70346]
2023-01-27 20:53:50 +05:30
ROCm CI Service Account 04faf32374 SWDEV-327563 - enable hipMemset skipped test cases (#135)
* SWDEV-327563 - enable hipMemset skipped test cases

Change-Id: I29393c9d690eb3777d7e9f0e599a87ead4a00482

[ROCm/hip-tests commit: a55ff53480]
2023-01-27 20:46:54 +05:30
ROCm CI Service Account 1f271bf22e SWDEV-366060 - Adding tests for __hmax/hmin device functions (#125)
Change-Id: I4a34f15168bdedaaaaa247faa7a3e7fce34f89d5


[ROCm/hip-tests commit: a76956607c]
2023-01-26 08:20:05 -08:00
agunashe 350f0ebada SWDEV-327563 - Enable back the commented tests (#141)
[ROCm/hip-tests commit: 639724a841]
2023-01-26 17:13:57 +05:30
ROCm CI Service Account 75a0931ae9 SWDEV-368632 - hip-tests: HIP_PATH and ROCM_PATH for catch tests (#138)
Change-Id: I855bf73df2914b98fe7f502f3a9837529feed8af


[ROCm/hip-tests commit: e88550d380]
2023-01-24 21:21:50 -08:00
ROCm CI Service Account 0aa84a1454 SWDEV-359379 - Windows catch2: fix for rsp path issue (#137)
MSbuild optimizes long args by writing it to a temp file.
the temp file path was referenced incorrectly.
This patch fixes the path issue of the rsp file

Change-Id: I90e3e46764902025f09d7adddd80d8a7ead3b940


[ROCm/hip-tests commit: 82fdfdb357]
2023-01-24 11:00:02 -08:00
Rahul Garg 8f2056ad3f Temporarily disable failing tests (#136)
Unit_hipStreamGetCaptureInfo_Nullstream_CaptureInfo
Unit_hipGraphAddMemcpyNode1D_Negative_Basic

[ROCm/hip-tests commit: c03de3547b]
2023-01-23 16:42:43 -08:00
Maneesh Gupta ad30b95b31 SWDEV-1 - Disable newly added failing tests (#132)
Disabled the following tests on Linux:
- Unit_hipMemRangeGetAttribute_Positive_AccessedBy_Basic
- Unit_hipMemRangeGetAttribute_Positive_AccessedBy_Partial_Range
- Unit_hipMemRangeGetAttributes_Negative_Parameters
- Unit_hipStreamAttachMemAsync_Positive_Basic
- Unit_hipStreamAttachMemAsync_Positive_AttachGlobal
- Unit_hipStreamAttachMemAsync_Negative_Parameters
- Unit_hipMemGetAddressRange_Positive
Disabled the following tests on Windows:
- Unit_hipMemGetAddressRange_Positive

[ROCm/hip-tests commit: 315b14fe4e]
2023-01-23 10:47:56 +05:30
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