Commit graph

722 Commits

Autor SHA1 Nachricht Datum
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
ROCm CI Service Account 5a889b1bcd SWDEV-306122 - [catch2][dtest] Added test for hipUserObjectCreate, hipUserObjectRelease, hipUserObjectRetain, hipGraphReleaseUserObject, hipGraphRetainUserObject API (#3061)
* SWDEV-306122 - [catch2][dtest] Added test for hipUserObjectCreate, hipUserObjectRelease, hipUserObjectRetain, hipGraphReleaseUserObject, hipGraphRetainUserObject API

Change-Id: I7fd25bcc23f0629d92296ab7b20258a6e268a58b

[ROCm/hip-tests commit: eebb6fb3ea]
2022-11-28 20:15:49 +05:30
ROCm CI Service Account d8349509dc SWDEV-306410 - Add Unit_hipEventMGpuMThreads* (#3095)
Change-Id: Ieaaed1d15b4d258103d8341d4b17d9f83a9e4785

[ROCm/hip-tests commit: b8e8437c3c]
2022-11-28 14:04:36 +05:30
ROCm CI Service Account 23c5b48e23 SWDEV-357759 - [catch2][dtest] Adding additional functional tests for hipStreamBeginCapture() API (#3094)
Change-Id: I7b89dcb6aa24eae0daf2974733ddeb6d3902cafa

[ROCm/hip-tests commit: ac246706a7]
2022-11-28 14:04:25 +05:30
ROCm CI Service Account cbdce95e23 SWDEV-367463 - Add unit test for hipMallocManaged call w/ large size (#3089)
Change-Id: I9e9f6687ec837f3aaa1567d8b00f15925b7dd2c2

[ROCm/hip-tests commit: e6b5bd2666]
2022-11-28 14:04:01 +05:30
ROCm CI Service Account baa7d85b6e SWDEV-348684 - Fixed catch-2 test failure (#3073)
Change-Id: Ib21c26a3c8e51f0b7f132ecd4ad209dfef1d0689

[ROCm/hip-tests commit: 7890b0559e]
2022-11-28 14:03:51 +05:30
ROCm CI Service Account fb413549aa SWDEV-327563 - deviceLib build fix for nvidia (#3072)
Change-Id: Ic66242caa21f9ba6f41255d84a3fd3e54b481b46

[ROCm/hip-tests commit: 88160dc42d]
2022-11-28 14:03:31 +05:30
Maneesh Gupta 2f57706a8a Disable Unit_hipMemset_Negative_OutOfBoundsPtr
[ROCm/hip-tests commit: 0ee0d72589]
2022-11-23 15:06:16 +05:30
Maneesh Gupta 8873b100b9 Disable wall clock test temporarily
[ROCm/hip-tests commit: 494dabddf5]
2022-11-23 14:13:59 +05:30
Maneesh Gupta d52763eeaf Better handle failures in CI infra (#3098)
* Update Jenkinsfile
* Update tests/catch/unit/CMakeLists.txt

[ROCm/hip-tests commit: 7ba53cd5da]
2022-11-23 12:34:02 +05:30
agunashe 11b38a3500 SWDEV-327563 - skip Unit_hipGraphAddEventRecordNode_Functional_WithoutFlags (#3091)
* SWDEV-327563 - skip Unit_hipGraphAddEventRecordNode_Functional_WithoutFlags

* SWDEV-327563 - skip Unit_hipGraphAddEventRecordNode_MultipleRun

[ROCm/hip-tests commit: fcaa8d7db8]
2022-11-21 22:11:08 -08:00
ROCm CI Service Account bd2be139f6 SWDEV-348282 - fixed intermittent failure fo hipCGMultiGrid* and hipCGThread* tests, porting over to catch2 in the process (#3067)
Change-Id: Id22dfb4ab2ee8171242fbf6a10886ff3e4abc926


[ROCm/hip-tests commit: 74a6e407e7]
2022-11-18 12:14:12 -08:00
ROCm CI Service Account ab58ccf21a SWDEV-346579 - atomics test cases for non MI2xx/MI3xx (#3060)
Replace the internal __builtin__ functions with external APIs

Change-Id: Ia3cf37af004b5b9a4833b18a8771a8864772beb4


[ROCm/hip-tests commit: 6a40a263a2]
2022-11-16 14:01:05 -08:00
nives-vukovic 29f3e73eb4 EXSWHTEC-64 - Implement tests for hipInit and hipDriverGetVersion (#2971)
- Add simple positive and negative test for hipInit api
- Add simple positive and negative test for hipDriverGetVersion api
- Disable hipInit negative test on AMD

[ROCm/hip-tests commit: 90417c23d1]
2022-11-14 15:05:14 +05:30
agunashe ba9767ccca SWDEV-327563 - skip graph and spt failing tests (#3068)
* SWDEV-327563 - skip Unit_hipStreamSynchronize_NullStreamAndStreamPerThread.

Since the StreamPerThread is still not fixed

* SWDEV-327563 - skip graph and spt failing tests

[ROCm/hip-tests commit: 5ac8da9a09]
2022-11-13 22:57:11 -08:00
Rahul Garg 54a29a82be SWDEV-355313 - Add README
Change-Id: I212b82b1b3a78a368b85ea64e338371a34b405f9


[ROCm/hip-tests commit: b4c4232c87]
2022-11-07 20:31:56 +00:00
Mirza Halilčević 3b31bcc00d EXSWHTEC-10 - Implement additional tests for hipIpcOpenMemHandle (#2880)
- Verify that opening the same handle in different contexts on same device causes an error
- Verify that opening the handle in the process that created it causes an error
- Remove linux guard from test file and exclude test from windows build with cmake.
- Disable Unit_hipIpcOpenMemHandle_Negative_Open_In_Creating_Process for AMD.

[ROCm/hip-tests commit: f9aceabe26]
2022-11-07 16:50:44 +05:30
ROCm CI Service Account 83e5851beb SWDEV-327563 - Windows Enable fixed tests v5 (#3059)
Change-Id: Ie144e481f38b3e5d462f64d76ab4fd32043f2b46

[ROCm/hip-tests commit: 814f0cc15c]
2022-11-07 15:36:09 +05:30
Mirza Halilčević a96efc3b66 EXSWHTEC-27 - Implement tests for hipDeviceSetSharedMemConfig and hipDeviceGetSharedMemConfig (#2920)
- Negative parameter tests
- Default return value test
- Multithreaded test
- Adjust hipDeviceSetGetSharedMemConfig tests according to new return value.

[ROCm/hip-tests commit: 03f847847e]
2022-11-07 14:01:36 +05:30
Mirza Halilčević f491348bee EXSWHTEC-12 - Implement additional tests for hipIpcGetMemHandle (#2879)
- Verify that unique handles are returned for consecutive calls
- Verify that unique handles are returned for separate allocations at same address
- Verify that freed memory causes an error
- Verify that out of bounds pointer will cause an error.
- Remove linux guard from test file and exclude test from windows build with cmake.
- Fix expected error in hipIpcGetMemHandle negative tests.

[ROCm/hip-tests commit: dca25f3ba4]
2022-11-07 14:01:10 +05:30
ROCm CI Service Account 783685f56b SWDEV-354905 - prioritize -DROCM_PATH over env{ROCM_PATH} in hip tests (#3055)
Change-Id: I943bc705641ceccda95b409d13b4e757c4e5ab23


[ROCm/hip-tests commit: 3229bcbe45]
2022-11-04 17:14:41 -07:00
ROCm CI Service Account 898c728ee5 SWDEV-362930 - Fixes packging issue Windows using makefile (#3054)
Issue NMAKE : fatal error U1065: invalid option 'w'
Solution -
Windows to use Ninja but cmake needs to skip compiler test

Change-Id: I1f666254ce5188dff0897815677ce4d9faf55e4c


[ROCm/hip-tests commit: 652d142b86]
2022-11-04 15:48:13 -07:00
nives-vukovic fcdbcd743a EXSWHTEC-65 - Implement additional Initialization and Version tests (#2972)
- Separate hipRuntimeGetVersion and hipDeviceGetUuid tests into positive and negative tests
 - Split Unit_hipDeviceGetUuid into Unit_hipDeviceGetUuid_Positive and Unit_hipDeviceGetUuid_Negative
 - Split Unit_hipRuntimeGetVersion_NegAndValTst into Unit_hipRuntimeGetVersion_Positive and Unit_hipRuntimeGetVersion_Negative
- Modify tests to use hipDevice_t instead of integer for devices in hipDeviceGetUuid negative test
- Implement additional Initialization and Version tests
 - Expand hipDeviceComputeCapability negative test with case when device is invalid
 - Expand hipDeviceGetP2PAttribute negative test with case when src and dst devices are the same
 - Expand hipDeviceGetP2PAttribute negative test with case when device is out of bound
 - Modify hipDeviceTotalMem negative test with case when device is invalid
 - Implement Unit_hipDeviceGetPCIBusId_PartialFill test which validates partial filling the bus id into a char array
- Fix minor formatting issues and change hipDeviceGetPCIBusId partial fill test into negative
- Modify negative tests to use integer device values
- Disable hipDeviceGetPCIBusId negative test on AMD

[ROCm/hip-tests commit: d7fafa8696]
2022-11-04 19:29:26 +05:30
Mirza Halilčević 47050658dc EXSWHTEC-9 - Implement additional tests for hipIpcCloseMemHandle (#2881)
- Verify that memory stays mapped when reference count is non zero
- Verify that memory stays mapped if handle is closed in a second process
- Verify that attempting to close handle in the process that created it causes an error
- Correct header includes.
- Add additional pointer check to reference counting test.
- Disable Unit_hipIpcCloseMemHandle_Negative_Close_In_Originating_Process test for AMD.

[ROCm/hip-tests commit: 86fa9725c4]
2022-11-04 19:26:53 +05:30
Mirza Halilčević 03e871aea5 EXSWHTEC-8 - Implement additional test for hipGetDeviceFlags (#2877)
- Validate that hipGetDeviceFlags returns flags with which the current context was created.
- Disable Unit_hipGetDeviceFlags_Positive_Context on AMD

[ROCm/hip-tests commit: a6bbefbd95]
2022-11-04 19:24:58 +05:30
Mirza Halilčević d734e7d859 EXSWHTEC-1 - Implement additional negative parameter tests for hipIpcGetEventHandle and hipIpcOpenEventHandle (#2882)
[ROCm/hip-tests commit: 72ab04d18d]
2022-11-04 19:24:28 +05:30
nives-vukovic 1f0ab7b47f EXSWHTEC-71 - Implement P2P Device Access positive and negative tests (#2980)
- Implemented P2P Device Access positive and negative tests for the following functions:
 - hipDeviceCanAccessPeer
 - hipDeviceEnablePeerAccess
 - hipDeviceDisablePeerAccess
- Expand P2P Device Access negative tests
 - Add hipDeviceEnablePeerAccess negative test when flag is invalid and access is already enabled
 - Add hipDeviceDisablePeerAccess negative test when access is not enabled and when it is disabled twice

[ROCm/hip-tests commit: 79162275d9]
2022-11-04 08:43:33 +05:30