Commit Graph

7055 Commits

Author SHA1 Message Date
Jenkins f4d27727cb SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I084d0d56ef56f7a466a601223fdc872a33024599


[ROCm/hip commit: ca40a56462]
2022-11-28 19:10:15 -05:00
ROCm CI Service Account 0965bd6ea2 SWDEV-345188 - Windows: fix warnings while building catch (#3071)
fixes deprecated warning for 'getenv' on Windows

Change-Id: I5ecdaca451a936e843691c4611910ee338b22e46

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

Change-Id: If94628ec9c285e9689ce471931b3c40b7d3ece84

[ROCm/hip commit: 955f1e4979]
2022-11-28 20:16:16 +05:30
ROCm CI Service Account e7b29faa2c 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 commit: d76a487187]
2022-11-28 20:15:49 +05:30
ROCm CI Service Account e86ee86479 SWDEV-306410 - Add Unit_hipEventMGpuMThreads* (#3095)
Change-Id: Ieaaed1d15b4d258103d8341d4b17d9f83a9e4785

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

[ROCm/hip commit: 8c79142035]
2022-11-28 14:04:25 +05:30
ROCm CI Service Account 891ab39171 SWDEV-368417 - Update FAQ on library support (#3092)
Change-Id: I940f840be45e6c45b960ec03ae007472e965cb5e

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

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

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

[ROCm/hip commit: 5698fed162]
2022-11-28 14:03:31 +05:30
Jenkins 4c28403be4 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I20c7c99989c955d9c711005938671b0732ac8b44


[ROCm/hip commit: 1728d69c3f]
2022-11-24 19:10:07 -05:00
ROCm CI Service Account 31676c0c06 SWDEV-345870 - Correct HIP path for new directory layout and removed the usage of HSA_PATH in hipcc (#3065)
With file reorganization, HIP installed in /opt/rocm-ver
Use the install path rather than using backward compatible path.
HSA_PATH is not at all required in hipcc and removed the same

Change-Id: Ia461cb4da2c0e0967703033f5c2c79b67732f5b5

[ROCm/hip commit: 388432384f]
2022-11-24 09:33:05 +05:30
Jenkins 2285cfc465 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I89ef3d352996c037ecd55143140d1204c588ff11


[ROCm/hip commit: c0d78aefe8]
2022-11-23 19:10:10 -05:00
Maneesh Gupta 4ccda0ea4a Disable Unit_hipMemset_Negative_OutOfBoundsPtr
[ROCm/hip commit: d3e7e5a23b]
2022-11-23 15:06:16 +05:30
Maneesh Gupta 292bdcb7e2 Disable wall clock test temporarily
[ROCm/hip commit: 385a114025]
2022-11-23 14:13:59 +05:30
Maneesh Gupta cc80b0631b Better handle failures in CI infra (#3098)
* Update Jenkinsfile
* Update tests/catch/unit/CMakeLists.txt

[ROCm/hip commit: 81c12ab01d]
2022-11-23 12:34:02 +05:30
Maneesh Gupta 4c55687134 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: Iec12a72acbd5b47ab258bdaaccbac332b4fc7e29


[ROCm/hip commit: 201502a86b]
2022-11-23 04:16:25 +00:00
ansurya 8b3dd27480 SWDEV-325711 - Added new Graph APIs (#3097)
- hipGraphDebugDotPrint
- hipGraphKernelNodeCopyAttributes
- hipGraphNodeGetEnabled
- hipGraphNodeSetEnabled

Change-Id: Ic6156e00cfc6a4614649eda12b81187e6b186efb

[ROCm/hip commit: 1cdb2d5be5]
2022-11-23 09:44:27 +05:30
agunashe b6e406fd60 SWDEV-327563 - skip Unit_hipGraphAddEventRecordNode_Functional_WithoutFlags (#3091)
* SWDEV-327563 - skip Unit_hipGraphAddEventRecordNode_Functional_WithoutFlags

* SWDEV-327563 - skip Unit_hipGraphAddEventRecordNode_MultipleRun

[ROCm/hip commit: d0c63f8d53]
2022-11-21 22:11:08 -08:00
Jenkins 4d61272484 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: If2461c35ec8281d56859996ea07ec83665420f09


[ROCm/hip commit: 6bc3306f95]
2022-11-20 19:10:09 -05:00
ROCm CI Service Account 7047e3cb1b SWDEV-348282 - fixed intermittent failure fo hipCGMultiGrid* and hipCGThread* tests, porting over to catch2 in the process (#3067)
Change-Id: Id22dfb4ab2ee8171242fbf6a10886ff3e4abc926


[ROCm/hip commit: 01da3903c5]
2022-11-18 12:14:12 -08:00
Jenkins 159c4a57b2 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I3840c605372995d4a8db1bf5b7c4f11e3bca70bc


[ROCm/hip commit: f40abcc7cf]
2022-11-16 19:10:14 -05:00
ROCm CI Service Account 02a1e1141d SWDEV-346579 - atomics test cases for non MI2xx/MI3xx (#3060)
Replace the internal __builtin__ functions with external APIs

Change-Id: Ia3cf37af004b5b9a4833b18a8771a8864772beb4


[ROCm/hip commit: 0acac9c7db]
2022-11-16 14:01:05 -08:00
Jenkins b5603b6b84 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I49fc33ad5fa03329941bda654f81ce63792a1684


[ROCm/hip commit: 5660cae4b2]
2022-11-14 19:10:26 -05:00
nives-vukovic 7a9617e9f6 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 commit: 1f06f33d7d]
2022-11-14 15:05:14 +05:30
agunashe e6ee2e4913 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 commit: ae8f2d3557]
2022-11-13 22:57:11 -08:00
Jenkins de91737012 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: Ie193993a41286d5ec789abebff53ee2ed9130930


[ROCm/hip commit: d44e4d00ba]
2022-11-08 19:10:03 -05:00
Mirza Halilčević 6b6d67dd61 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 commit: 809149ecc8]
2022-11-07 16:50:44 +05:30
ROCm CI Service Account cd6b6ca2c3 SWDEV-327563 - Windows Enable fixed tests v5 (#3059)
Change-Id: Ie144e481f38b3e5d462f64d76ab4fd32043f2b46

[ROCm/hip commit: 4fbc08e6c4]
2022-11-07 15:36:09 +05:30
Mirza Halilčević 822cccfb95 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 commit: cd4a634935]
2022-11-07 14:01:36 +05:30
Mirza Halilčević d1775f330c 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 commit: c504292c54]
2022-11-07 14:01:10 +05:30
ROCm CI Service Account 988d616c1e SWDEV-354905 - prioritize -DROCM_PATH over env{ROCM_PATH} in hip tests (#3055)
Change-Id: I943bc705641ceccda95b409d13b4e757c4e5ab23


[ROCm/hip commit: a9e9d9f996]
2022-11-04 17:14:41 -07:00
Jenkins b171c24c3e SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: Ie0fad73d02cd58013c1c665ccedce6f23d73f282


[ROCm/hip commit: 83fb425385]
2022-11-04 19:10:39 -04:00
ROCm CI Service Account 473ad7a867 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 commit: a47e8ac84f]
2022-11-04 15:48:13 -07:00
nives-vukovic 6500f83b4f 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 commit: 10382f7f58]
2022-11-04 19:29:26 +05:30
Mirza Halilčević ddd1ea09cc 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 commit: dc5d658843]
2022-11-04 19:26:53 +05:30
Mirza Halilčević d872d637ae 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 commit: 7a3fecab50]
2022-11-04 19:24:58 +05:30
Mirza Halilčević 920b612470 EXSWHTEC-1 - Implement additional negative parameter tests for hipIpcGetEventHandle and hipIpcOpenEventHandle (#2882)
[ROCm/hip commit: e8184e92fd]
2022-11-04 19:24:28 +05:30
Jenkins e4653964ba SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I71bd13dc8065a4426fe19186cf288ca75cc26275


[ROCm/hip commit: 3ad3ed74ba]
2022-11-04 07:10:27 -04:00
Maneesh Gupta 0a9dccc536 Bump HIP version to 5.5
[ROCm/hip commit: 647d09eee5]
2022-11-04 15:48:24 +05:30
nives-vukovic d85184578f 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 commit: cbd52de94b]
2022-11-04 08:43:33 +05:30
Jenkins 905c605d29 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: Iaccdfd0e2d82bb989ab3cc933bdc7acc23c59e9a


[ROCm/hip commit: 8c04036f47]
2022-11-03 19:10:01 -04:00
Mirza Halilčević 8262f5545d EXSWHTEC-28 - Implement tests for hipDeviceSetMemPool and hipDeviceGetMemPool (#2876)
- Test behaviour with valid arguments for both APIs
- Test with invalid parameters.
- Default return value test
- Multithreaded test
- Enable tests for nvidia platform.

[ROCm/hip commit: 2db7c8778b]
2022-11-03 10:16:24 +05:30
Mirza Halilčević 5ee70b6d82 EXSWHTEC-26 - Implement tests for hipDeviceSetCacheConfig and hipDeviceGetCacheConfig (#2919)
- Negative parameter tests
- Default return value test
- Multithreaded test
- Reorder tests and generate test cases for all available devices in certain tests.
- Add checks for hipDeviceSetCacheConfig not being supported on AMD.
- Remove NVIDIA guards from tests and disable tests on AMD platform.

[ROCm/hip commit: 60c0251ff1]
2022-11-03 08:02:25 +05:30
nives-vukovic c889a9f6f1 EXSWHTEC-17 - Implement additional hipStreamWaitEvent tests (#2910)
- Add simple test that waits for an event - Unit_hipStreamWaitEvent_Default
- Add negative test when stream is uninitialized - Unit_hipStreamWaitEvent_WithUninitializedStream
- Minor modification of Unit_hipStreamWaitEvent_DifferentStreamstxt
- Modify uninitialized stream error code

[ROCm/hip commit: e99b3ef09c]
2022-11-03 08:01:37 +05:30
nives-vukovic 86d274e992 EXSWHTEC-13 - Implement positive test for hipEventCreate (#2901)
- Add hipEventCreate.cc file with a simple positive unit test
- Add newly created file into CMakeLists.txt
- Update hipEventCreate test according to coding guidelines

[ROCm/hip commit: 5664a6299f]
2022-11-02 21:32:58 +05:30
Mirza Halilčević 47306c02c0 EXSWHTEC-7 - Implement tests for error handling APIs (#2883)
- Validate that hipGetErrorName returns a non empty string for all error enumerators
- Validate that hipGetErrorString returns a non empty string for all error enumerators
- Negative parameter test for hipGetErrorName and hipGetErrorString
- Validate expected behaviour of hipGetLastError and hipPeekAtLastError
- Multithreaded tests for hipGetLastError and hipPeekAtLastError
- Remove threaded_zig_zag_test.
- Validate error string for invalid error enumerator
- Remove empty lines from HipGetLastErrorThreadedTest and HipPeekAtLastErrorTest.
- Removed unnecessary check in hipGetErrorString negative test.

[ROCm/hip commit: e4c0cb3fca]
2022-11-02 21:01:54 +05:30
Mirza Halilčević be9f0e1c75 Implement tests for hipDeviceGetDefaultMemPool (#2875)
- Test that returned mem_pool is not a nullptr
- Tests with invalid parameters.

[ROCm/hip commit: 6ebe7822cc]
2022-11-02 19:25:37 +05:30
ROCm CI Service Account 847c6ee3a8 SWDEV-306122 - [catch2][dtest] Additional tests for hipGraphGetNodes/hipGraphGetRootNodes api (#2860)
Change-Id: I4e9a6eadd92b6de4aded0aa96464bfcc59441ac4

[ROCm/hip commit: 60a07fd66f]
2022-11-02 14:42:11 +05:30
ROCm CI Service Account cb6ce17b8d SWDEV-347688 - port compiler folder Dtest (#2858)
Change-Id: I79d505881b23d2f12429609cc8cbf478d19bf944

[ROCm/hip commit: c108e595d1]
2022-11-02 14:41:55 +05:30