Commit gráf
64512 Commit-ok
Szerző SHA1 Üzenet Dátum
Ioannis Assiouras 0936f32b27 SWDEV-373630 - Added checks for invalid flags in hipOccupancy query functions
Change-Id: Ice1df4d3722354f40c8b02ba35ed122f9b2e2f2d


[ROCm/clr commit: 5837d83e46]
2023-03-06 15:10:07 -05:00
Ioannis Assiouras 5837d83e46 SWDEV-373630 - Added checks for invalid flags in hipOccupancy query functions
Change-Id: Ice1df4d3722354f40c8b02ba35ed122f9b2e2f2d
2023-03-06 15:10:07 -05:00
Sean Keely 42243c1e8f Add support for exporting portable handles to GPU allocations.
Adds hsa_amd_portable_export_dmabuf and hsa_amd_portable_close_dmabuf
which allow obtaining dmabuf handles to rocr allocations.  These handles
may be shared with other APIs to support cross vendor & cross device
memory sharing.
Adds query to return whether dmabuf export is supported

Signed-off-by: Jonathan Kim <Jonathan.Kim@amd.com>
Signed-off-by: David Yat Sin <David.YatSin@amd.com>

Change-Id: I7f98501087d9563d07fc2cb428cc886b1e518b1e
2023-03-06 12:39:01 -05:00
Sean Keely deee152909 Add support for exporting portable handles to GPU allocations.
Adds hsa_amd_portable_export_dmabuf and hsa_amd_portable_close_dmabuf
which allow obtaining dmabuf handles to rocr allocations.  These handles
may be shared with other APIs to support cross vendor & cross device
memory sharing.
Adds query to return whether dmabuf export is supported

Signed-off-by: Jonathan Kim <Jonathan.Kim@amd.com>
Signed-off-by: David Yat Sin <David.YatSin@amd.com>

Change-Id: I7f98501087d9563d07fc2cb428cc886b1e518b1e


[ROCm/ROCR-Runtime commit: 42243c1e8f]
2023-03-06 12:39:01 -05:00
Bill(Shuzhou) Liu 73f8c1563a Filter out the GPUs not assigned to a container in showpid
The process ids of other container are still visible in the sysfs file,
filter it out to prevent crash.

Change-Id: I665912cd09c606804186aff8cba5c24f5e58ded7


[ROCm/rocm_smi_lib commit: 710649ab66]
2023-03-06 11:05:02 -06:00
Bill(Shuzhou) Liu 710649ab66 Filter out the GPUs not assigned to a container in showpid
The process ids of other container are still visible in the sysfs file,
filter it out to prevent crash.

Change-Id: I665912cd09c606804186aff8cba5c24f5e58ded7
2023-03-06 11:05:02 -06:00
ROCm CI Service Account c808e5394f SWDEV-384013 - Add HIPRTC_JIT_IR_TO_ISA_OPT_EXT header changes (#3176)
Change-Id: Ie466cd02f2aed30e1568c4d76d60c9048af0fe4c

[ROCm/hip commit: fdc00547cb]
2023-03-06 21:11:39 +05:30
ROCm CI Service Account fdc00547cb SWDEV-384013 - Add HIPRTC_JIT_IR_TO_ISA_OPT_EXT header changes (#3176)
Change-Id: Ie466cd02f2aed30e1568c4d76d60c9048af0fe4c
2023-03-06 21:11:39 +05:30
ROCm CI Service Account d3152b1415 SWDEV-373630 - Modified occupancy query tests to conform with new error messages. (#3175)
Change-Id: I20e16e78cb5f170609b33e0770b7fca5bff2b280

[ROCm/hip commit: 5557d17afc]
2023-03-06 21:11:25 +05:30
ROCm CI Service Account 5557d17afc SWDEV-373630 - Modified occupancy query tests to conform with new error messages. (#3175)
Change-Id: I20e16e78cb5f170609b33e0770b7fca5bff2b280
2023-03-06 21:11:25 +05:30
Xiaomeng Hou 7729cb184b SWDEV-373400 - Lower the threshold of single alloc percent for APUs w/ small VRAM
Change-Id: Ie8e3504a0c468bc44633991cdfde66bcf0b74f06


[ROCm/clr commit: 35a0855e4e]
2023-03-06 10:12:01 -05:00
Xiaomeng Hou 35a0855e4e SWDEV-373400 - Lower the threshold of single alloc percent for APUs w/ small VRAM
Change-Id: Ie8e3504a0c468bc44633991cdfde66bcf0b74f06
2023-03-06 10:12:01 -05:00
ROCm CI Service Account 813b273565 SWDEV-380340 - [catch2][dtest] Context tests migrated from direct to catch2 (#187)
Change-Id: I6cf69089343cfcddfa9d0ac1a8e2c73381ff70e8

[ROCm/hip-tests commit: c678dde410]
2023-03-06 19:35:29 +05:30
ROCm CI Service Account c678dde410 SWDEV-380340 - [catch2][dtest] Context tests migrated from direct to catch2 (#187)
Change-Id: I6cf69089343cfcddfa9d0ac1a8e2c73381ff70e8
2023-03-06 19:35:29 +05:30
ROCm CI Service Account fc7de1392a SWDEV-364620 - fix Unit_hipGraphAddHostNode_ClonedGraphwithHostNode by adding dependencies for cloned graph correctly (#186)
Change-Id: I87bbf2536ccf5aa896478bfdca0d7d76fd5b4a74

[ROCm/hip-tests commit: e4ef99f52a]
2023-03-06 19:34:49 +05:30
ROCm CI Service Account e4ef99f52a SWDEV-364620 - fix Unit_hipGraphAddHostNode_ClonedGraphwithHostNode by adding dependencies for cloned graph correctly (#186)
Change-Id: I87bbf2536ccf5aa896478bfdca0d7d76fd5b4a74
2023-03-06 19:34:49 +05:30
ROCm CI Service Account 90d3cd808e SWDEV-379358 - [catch2][dtest] DeviceLib tests migrated from direct to catch2 (#185)
Change-Id: Ie69bb0189574e8e9e411aa946b27751efd99f322

[ROCm/hip-tests commit: d1212bb9ab]
2023-03-06 16:57:51 +05:30
ROCm CI Service Account d1212bb9ab SWDEV-379358 - [catch2][dtest] DeviceLib tests migrated from direct to catch2 (#185)
Change-Id: Ie69bb0189574e8e9e411aa946b27751efd99f322
2023-03-06 16:57:51 +05:30
ROCm CI Service Account ff8637c332 SWDEV-383201 - Sync for two memory tests (#184)
Unit_hipMemcpy_Positive_Synchronization_Behavior
Unit_hipMemcpyHtoD_Positive_Synchronization_Behavior

Change-Id: Ia0d188d93fde99b4400a6b5ab60fcde969c2405d

[ROCm/hip-tests commit: ce788b3cef]
2023-03-06 16:57:29 +05:30
ROCm CI Service Account ce788b3cef SWDEV-383201 - Sync for two memory tests (#184)
Unit_hipMemcpy_Positive_Synchronization_Behavior
Unit_hipMemcpyHtoD_Positive_Synchronization_Behavior

Change-Id: Ia0d188d93fde99b4400a6b5ab60fcde969c2405d
2023-03-06 16:57:29 +05:30
ROCm CI Service Account 429f98452b SWDEV-327563 - stress tests executable name change (#183)
Helps to differentiate functional tests vs stress tests

Change-Id: I6269fc58f21c9d4e8a71268006b8da926f0ddbe0

[ROCm/hip-tests commit: 4f9ba54fb1]
2023-03-06 16:57:04 +05:30
ROCm CI Service Account 4f9ba54fb1 SWDEV-327563 - stress tests executable name change (#183)
Helps to differentiate functional tests vs stress tests

Change-Id: I6269fc58f21c9d4e8a71268006b8da926f0ddbe0
2023-03-06 16:57:04 +05:30
Marko Veniger 9d19cc9a57 EXSWHTEC-171 - Hip graph creation and destruction tests (#35)
* EXSWHTEC-171 - Implement positive and negative unit tests for the following API's:
 - hipGraphCreate
 - hipGraphDestroy

[ROCm/hip-tests commit: 42ebc6cd10]
2023-03-06 16:56:24 +05:30
Marko Veniger 42ebc6cd10 EXSWHTEC-171 - Hip graph creation and destruction tests (#35)
* EXSWHTEC-171 - Implement positive and negative unit tests for the following API's:
 - hipGraphCreate
 - hipGraphDestroy
2023-03-06 16:56:24 +05:30
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
music-dino 77a37371b0 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
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 4580864fa1 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
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
nives-vukovic 638e2aabeb 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
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
music-dino f1151e3c6d 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
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
milos-mozetic 72e6432739 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.
2023-03-06 08:58:26 +05:30
Jonathan Kim 7364a93b98 Fix Engine Offsetting for Copy on Engine
Forgot SDMA blit engine indices are offset by DevToDev 0-position in
a couple of places.

Change-Id: Ie811d8281bc812738ed0107694f3dffde5e93685
2023-03-03 20:45:35 -05:00
Jonathan Kim 57064af98d Fix Engine Offsetting for Copy on Engine
Forgot SDMA blit engine indices are offset by DevToDev 0-position in
a couple of places.

Change-Id: Ie811d8281bc812738ed0107694f3dffde5e93685


[ROCm/ROCR-Runtime commit: 7364a93b98]
2023-03-03 20:45:35 -05:00
Daniel Phillips d3bb1ca4af kfdtests: Relax MemoryAllocAll failure criteria
The MemoryAllocAll test in kfdtests exercises the new KFD memory
availability API by trying to allocate a single buffer object that
exactly fills all of vram. Desired object size is determined using the
memory availility KFD ioctl via libhsakmt, then an object is allocated
slightly larger than that size. If the allocation attempt fails then
the test tries to allocate a slightly smaller object, and continues
trying with smaller sizes until the allocation succeeds. The test
succeeds if the successfully allocated object is within some specified
tolerance of the available memory reported.

There are a number of known issues that can cause the successfully
allocated object to be significantly smaller than reported availability.
Until these issues are addressed, we should not fail the test, but just
log the actual divergence between the size of the object we thought we
could allocate, and what was actually possible.

Signed-off-by: Daniel Phillips <daniel.phillips@amd.com>
Change-Id: I165a30865ffbb2353286dcc896ad8e24af124615
2023-03-03 15:24:39 -08:00
Daniel Phillips 7691c4600f kfdtests: Relax MemoryAllocAll failure criteria
The MemoryAllocAll test in kfdtests exercises the new KFD memory
availability API by trying to allocate a single buffer object that
exactly fills all of vram. Desired object size is determined using the
memory availility KFD ioctl via libhsakmt, then an object is allocated
slightly larger than that size. If the allocation attempt fails then
the test tries to allocate a slightly smaller object, and continues
trying with smaller sizes until the allocation succeeds. The test
succeeds if the successfully allocated object is within some specified
tolerance of the available memory reported.

There are a number of known issues that can cause the successfully
allocated object to be significantly smaller than reported availability.
Until these issues are addressed, we should not fail the test, but just
log the actual divergence between the size of the object we thought we
could allocate, and what was actually possible.

Signed-off-by: Daniel Phillips <daniel.phillips@amd.com>
Change-Id: I165a30865ffbb2353286dcc896ad8e24af124615


[ROCm/ROCR-Runtime commit: d3bb1ca4af]
2023-03-03 15:24:39 -08:00
Nirmal Unnikrishnan e51c8fc32c SWDEV-354524 - Adding the changelog for ROCM 5.5.0 release
Change-Id: I166bc97a9c8a80744d6bde23d180864c3c16d271


[ROCm/rocm-core commit: 6794b39fff]
2023-03-03 13:43:17 -06:00
Nirmal Unnikrishnan 6794b39fff SWDEV-354524 - Adding the changelog for ROCM 5.5.0 release
Change-Id: I166bc97a9c8a80744d6bde23d180864c3c16d271
2023-03-03 13:43:17 -06:00
Eric Huang 3f55ba9fb8 kfdtest: add the check for svm usage limit
Since KFD counts svm allocation as system memory usage,
KFDSVMEvictTest will fail on the case of small system
memory, adding check is to skip test.

Signed-off-by: Eric Huang <jinhuieric.Huang@amd.com>
Change-Id: I040f16f2dd0d4092d069a632cfba9c28293f781b
2023-03-03 11:03:17 -05:00
Eric Huang 9e41c799a0 kfdtest: add the check for svm usage limit
Since KFD counts svm allocation as system memory usage,
KFDSVMEvictTest will fail on the case of small system
memory, adding check is to skip test.

Signed-off-by: Eric Huang <jinhuieric.Huang@amd.com>
Change-Id: I040f16f2dd0d4092d069a632cfba9c28293f781b


[ROCm/ROCR-Runtime commit: 3f55ba9fb8]
2023-03-03 11:03:17 -05:00
Jatin Chaudhary 759415288b SWDEV-386435 - Add checks for memfree graph node
Change-Id: I8eab93046723f0fdc01f95e3bfb9071d84eb2e18


[ROCm/clr commit: 7715b3b398]
2023-03-03 04:33:49 -05:00
Jatin Chaudhary 7715b3b398 SWDEV-386435 - Add checks for memfree graph node
Change-Id: I8eab93046723f0fdc01f95e3bfb9071d84eb2e18
2023-03-03 04:33:49 -05:00
Anusha GodavarthySurya 18edb0d97c SWDEV-366636 - Fix performance drop in TF-RCCL models
Change-Id: Ie04219daacc29654d0f47e1c15ed5cd78d88d8c8


[ROCm/clr commit: a2785c68b2]
2023-03-03 03:27:00 -05:00
Anusha GodavarthySurya a2785c68b2 SWDEV-366636 - Fix performance drop in TF-RCCL models
Change-Id: Ie04219daacc29654d0f47e1c15ed5cd78d88d8c8
2023-03-03 03:27:00 -05:00
Jenkins b56b541ea8 Merge 'develop' into 'amd-staging'
Change-Id: Ib00be125246c2393a03df44160977197a6d09818


[ROCm/hip-tests commit: 38ce64e60d]
2023-03-03 00:11:22 +00:00
Jenkins 38ce64e60d Merge 'develop' into 'amd-staging'
Change-Id: Ib00be125246c2393a03df44160977197a6d09818
2023-03-03 00:11:22 +00:00
jatang fe3c49c51a SWDEV-384646 - Clean up clinfo includes
Change-Id: I7cc8a877fd7a61fea58331b5ca1792022df3194d


[ROCm/clr commit: a7f8964a20]
2023-03-02 16:03:52 -05:00
jatang a7f8964a20 SWDEV-384646 - Clean up clinfo includes
Change-Id: I7cc8a877fd7a61fea58331b5ca1792022df3194d
2023-03-02 16:03:52 -05:00