76333 Commits
Author SHA1 Message Date
Hao Zhou bc1540e3e2 Merge amd-staging into amd-master 20230307
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: Iec37aa680c552f98eca97279e0b7d99475a7795e


[ROCm/rocm_smi_lib commit: 68ca36e43c]
2023-03-07 10:00:44 +08:00
Hao Zhou 68ca36e43c Merge amd-staging into amd-master 20230307
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: Iec37aa680c552f98eca97279e0b7d99475a7795e
2023-03-07 10:00:44 +08:00
Saleel Kudchadker 71a3807e6f SWDEV-345213 - Use the right accessor
- Use correct accessor to fetch memory objects. This checks the svm map
and arena maps

Change-Id: I84515330bb530cfe2b39abf30e1e659938f06806


[ROCm/clr commit: 8028d327e9]
2023-03-06 19:35:40 -05:00
Saleel Kudchadker 8028d327e9 SWDEV-345213 - Use the right accessor
- Use correct accessor to fetch memory objects. This checks the svm map
and arena maps

Change-Id: I84515330bb530cfe2b39abf30e1e659938f06806
2023-03-06 19:35:40 -05:00
Jenkins 9e3e55fb8b SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: Ia3bfdf39fe7d27ff644c9d6dbb566c6f2e0012de


[ROCm/hip commit: fc664ee979]
2023-03-07 00:11:23 +00:00
Jenkins fc664ee979 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: Ia3bfdf39fe7d27ff644c9d6dbb566c6f2e0012de
2023-03-07 00:11:23 +00:00
coleramos425 ac0b36f86b Hide symbols in regular --roof-only mode
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 6ced24021b]
2023-03-06 16:42:55 -06:00
coleramos425 6ced24021b Hide symbols in regular --roof-only mode
Signed-off-by: coleramos425 <colramos@amd.com>
2023-03-06 16:42:55 -06:00
coleramos425 4a2ba5a78e Comply to Python formatting
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 2b429bdd39]
2023-03-06 14:40:20 -06:00
coleramos425 2b429bdd39 Comply to Python formatting
Signed-off-by: coleramos425 <colramos@amd.com>
2023-03-06 14:40:20 -06:00
coleramos425 1c13434389 Match AI and BW colors in roofline
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: bdd28595f1]
2023-03-06 14:39:22 -06:00
coleramos425 bdd28595f1 Match AI and BW colors in roofline
Signed-off-by: coleramos425 <colramos@amd.com>
2023-03-06 14:39:22 -06:00
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
Bill(Shuzhou) Liu 41349aa57b 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/amdsmi commit: 710649ab66]
2023-03-06 11:05:02 -06:00
Wenkai Du 62f5e6a82f Warn user on incorrect system settings (#696)
* Warn user on incorrect system settings

* Fix typo

* Add possible impact

* Ignore iommu settings in VM

[ROCm/rccl commit: 79a2031951]
2023-03-06 08:17:06 -08:00
Wenkai Du 79a2031951 Warn user on incorrect system settings (#696)
* Warn user on incorrect system settings

* Fix typo

* Add possible impact

* Ignore iommu settings in VM
2023-03-06 08:17:06 -08:00
Marko Oblak d1325fcf40 SWDEV-379772 - [Navi32] [SMI-LIB] [Linux] [BM] [Guest] Wrong market name
Signed-off-by: Marko Oblak <Marko.Oblak@amd.com>
Change-Id: I12d3e650851a3aa474ccbf62628b60d4c385e68c
2023-03-06 17:08:33 +01:00
Marko Oblak c5054f75f4 SWDEV-379772 - [Navi32] [SMI-LIB] [Linux] [BM] [Guest] Wrong market name
Signed-off-by: Marko Oblak <Marko.Oblak@amd.com>
Change-Id: I12d3e650851a3aa474ccbf62628b60d4c385e68c


[ROCm/amdsmi commit: d1325fcf40]
2023-03-06 17:08:33 +01: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