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


[ROCm/amdsmi commit: 272a274313]
2023-01-18 10:33:38 +08:00
Hao Zhou 35704156f0 Merge amd-staging into amd-master 20230118
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: I3672f4919d7636f2a9521f0364e65c0dda1c2b2b


[ROCm/rocm_smi_lib commit: 0802602499]
2023-01-18 09:13:06 +08:00
Hao Zhou 0802602499 Merge amd-staging into amd-master 20230118
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: I3672f4919d7636f2a9521f0364e65c0dda1c2b2b
2023-01-18 09:13:06 +08:00
Jenkins 21c1c263e0 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: Ifef988205a08bbb764afd8d787b1e8ce49597bb5


[ROCm/hip commit: e2e2bdff1d]
2023-01-18 00:10:07 +00:00
Jenkins e2e2bdff1d SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: Ifef988205a08bbb764afd8d787b1e8ce49597bb5
2023-01-18 00:10:07 +00:00
Ranjith Ramakrishnan 9ee831c09f Split roctracer to runtime and dev/devel package
SWDEV-356024 - Development package name will have suffix dev or devel based on OS
Devel package contents - Header files, name link of public library files, html files and roctracer manual file
Runtime package contents - Versioned public library files, private library files and license file

Change-Id: I8ced3eab5d8824a66be39b9e777368506516b155


[ROCm/roctracer commit: 9acba8b4a1]
2023-01-17 14:10:58 -08:00
Ranjith Ramakrishnan 9acba8b4a1 Split roctracer to runtime and dev/devel package
SWDEV-356024 - Development package name will have suffix dev or devel based on OS
Devel package contents - Header files, name link of public library files, html files and roctracer manual file
Runtime package contents - Versioned public library files, private library files and license file

Change-Id: I8ced3eab5d8824a66be39b9e777368506516b155
2023-01-17 14:10:58 -08:00
Tao Sang 339bb6a7de SWDEV-377423 - Fix kernel attribute missing
Fix missing issue of kernel attributes including vec_type_hint,
work_group_size_hint and reqd_work_group_size.
Make WorkGroupInfo's meta attributes initialized before other parameters
are initialized.
This way workGroupInfo_'s compileSizeHint_, compileSize_ and
compileVecTypeHint_ will be valid when they are used to create kernel
signature in Kernel::createSignature().
Fix a typo of ".workgorup_size_hint".

Change-Id: I4a1ede2210a25596ad7a935cd4debb896e0147f8


[ROCm/clr commit: cb30ce4e06]
2023-01-17 14:50:35 -05:00
Tao Sang cb30ce4e06 SWDEV-377423 - Fix kernel attribute missing
Fix missing issue of kernel attributes including vec_type_hint,
work_group_size_hint and reqd_work_group_size.
Make WorkGroupInfo's meta attributes initialized before other parameters
are initialized.
This way workGroupInfo_'s compileSizeHint_, compileSize_ and
compileVecTypeHint_ will be valid when they are used to create kernel
signature in Kernel::createSignature().
Fix a typo of ".workgorup_size_hint".

Change-Id: I4a1ede2210a25596ad7a935cd4debb896e0147f8
2023-01-17 14:50:35 -05:00
sdashmiz 11f97823cd SWDEV-374374 - memset memory mapping should not change
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I4cc3b1ac5a59fe5c9ae060f4d5d189dc63ca450c


[ROCm/clr commit: 52bf09aac6]
2023-01-17 14:41:24 -05:00
sdashmiz 52bf09aac6 SWDEV-374374 - memset memory mapping should not change
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I4cc3b1ac5a59fe5c9ae060f4d5d189dc63ca450c
2023-01-17 14:41:24 -05:00
Ashutosh Mishra 07c24eec11 Correcting version information
Correted version in header
for ROCm and so version.
Computed libpatchversion from
ROCm version.Corrected so
version during build

Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com>
Change-Id: I55ad6c69352369872a40529cd5b108cbd4cd4bb1


[ROCm/rocm-core commit: b89ee9ff8b]
2023-01-17 12:44:13 -05:00
Ashutosh Mishra b89ee9ff8b Correcting version information
Correted version in header
for ROCm and so version.
Computed libpatchversion from
ROCm version.Corrected so
version during build

Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com>
Change-Id: I55ad6c69352369872a40529cd5b108cbd4cd4bb1
2023-01-17 12:44:13 -05:00
Jiabao Xie b6d1602da0 SWDEV-366886 - force alloc from svm
Change-Id: I6a89aa46d944832e59491bb96ba3669e5031b636


[ROCm/clr commit: 6c44353107]
2023-01-17 12:12:27 -05:00
Jiabao Xie 6c44353107 SWDEV-366886 - force alloc from svm
Change-Id: I6a89aa46d944832e59491bb96ba3669e5031b636
2023-01-17 12:12:27 -05:00
colramos425 be87dc68be Clean up roofline code #62
Signed-off-by: colramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 263ca0fe77]
2023-01-17 10:26:48 -06:00
colramos425 263ca0fe77 Clean up roofline code #62
Signed-off-by: colramos425 <colramos@amd.com>
2023-01-17 10:26:48 -06:00
colramos425 e97c745ba5 Catch any import errors from matplotlib #62
Signed-off-by: colramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: c3e3c9982b]
2023-01-17 10:26:00 -06:00
colramos425 c3e3c9982b Catch any import errors from matplotlib #62
Signed-off-by: colramos425 <colramos@amd.com>
2023-01-17 10:26:00 -06:00
Maneesh Gupta f6537beee3 Fix merge issues in memory unit tests (#123)
[ROCm/hip-tests commit: 75bb521e18]
2023-01-17 21:54:27 +05:30
Maneesh Gupta 75bb521e18 Fix merge issues in memory unit tests (#123) 2023-01-17 21:54:27 +05:30
Anusha GodavarthySurya 5b79a926e3 SWDEV-373173 - Add kernel metadata for WGP mode
Change-Id: Ic270e90c46938b975513ff2bc19b7bb6b9485f9d


[ROCm/clr commit: 0bd0c29b7d]
2023-01-17 10:51:22 -05:00
Anusha GodavarthySurya 0bd0c29b7d SWDEV-373173 - Add kernel metadata for WGP mode
Change-Id: Ic270e90c46938b975513ff2bc19b7bb6b9485f9d
2023-01-17 10:51:22 -05:00
colramos425 5d0928fd8f Add mult-normalization to MFMA Arithmetic Instr Mix #68
Signed-off-by: colramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 32444e43de]
2023-01-17 09:46:27 -06:00
colramos425 32444e43de Add mult-normalization to MFMA Arithmetic Instr Mix #68
Signed-off-by: colramos425 <colramos@amd.com>
2023-01-17 09:46:27 -06:00
German Andryeyev 36d240ff89 SWDEV-355281 - Use offset from FindMemObj
Change-Id: I53ce2c1ef2e3a580b8b12312b693c2476f0885d2


[ROCm/clr commit: 39db0ec297]
2023-01-17 10:01:49 -05:00
German Andryeyev 39db0ec297 SWDEV-355281 - Use offset from FindMemObj
Change-Id: I53ce2c1ef2e3a580b8b12312b693c2476f0885d2
2023-01-17 10:01:49 -05:00
pghafari 829bbe4933 SWDEV-369570 - MaxSharedMemoryPerBloc check
Change-Id: I74d216a5d9316758bb611eb241ba85222194ce8b


[ROCm/clr commit: 2e60edbe0e]
2023-01-17 07:52:15 -05:00
pghafari 2e60edbe0e SWDEV-369570 - MaxSharedMemoryPerBloc check
Change-Id: I74d216a5d9316758bb611eb241ba85222194ce8b
2023-01-17 07:52:15 -05:00
pghafari 7261e8fa39 SWDEV-374380 - hipGraphAddMemcpyNode1D errorCheck
Change-Id: I50501de139e3898783c1cc9c91c5ed3ed2564f3b


[ROCm/clr commit: 236a725d67]
2023-01-17 07:49:23 -05:00
pghafari 236a725d67 SWDEV-374380 - hipGraphAddMemcpyNode1D errorCheck
Change-Id: I50501de139e3898783c1cc9c91c5ed3ed2564f3b
2023-01-17 07:49:23 -05:00
Mirza Halilčević 89cf6ce4bb EXSWHTEC-99 - Reimplement tests for hipStreamAttachMemAsync (#52)
- Negative parameter tests
- Validate basic behavior
- Validate the behavior when pageable memory access is supported
- Validate the behavior for hipMemAttachGlobal
- Validate the behavior for hipMemAttachHost
- Validate the behavior for hipMemAttachSingle

[ROCm/hip-tests commit: 8ae538a341]
2023-01-17 17:28:57 +05:30
Mirza Halilčević 8ae538a341 EXSWHTEC-99 - Reimplement tests for hipStreamAttachMemAsync (#52)
- Negative parameter tests
- Validate basic behavior
- Validate the behavior when pageable memory access is supported
- Validate the behavior for hipMemAttachGlobal
- Validate the behavior for hipMemAttachHost
- Validate the behavior for hipMemAttachSingle
2023-01-17 17:28:57 +05:30
Mirza Halilčević 848418ec9b EXSWHTEC-69 - Implement tests for hipMemRangeGetAttributes (#51)
- Negative parameter tests for hipMemRangeGetAttribute and hipMemRangeGetAttributes
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributeReadMostly
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributePreferredLocation
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributeLastPrefetchLocation
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributeAccessedBy
- Validate the behavior of hipMemRangeGetAttributes

[ROCm/hip-tests commit: 203b994230]
2023-01-17 17:27:58 +05:30
Mirza Halilčević 203b994230 EXSWHTEC-69 - Implement tests for hipMemRangeGetAttributes (#51)
- Negative parameter tests for hipMemRangeGetAttribute and hipMemRangeGetAttributes
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributeReadMostly
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributePreferredLocation
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributeLastPrefetchLocation
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributeAccessedBy
- Validate the behavior of hipMemRangeGetAttributes
2023-01-17 17:27:58 +05:30
nives-vukovic 85f21808ec EXSWHTEC-72 - Implement hipMemcpyPeer/hipMemcpyPeerAsync and hipMemGetAddressRange tests (#34)
- Reimplement and expand hipMemcpyPeer/hipMemcpyPeerAsync tests using resource guards
- Implement positive and negative test for hipMemGetAddressRange

[ROCm/hip-tests commit: 647908ccb7]
2023-01-17 17:26:45 +05:30
nives-vukovic 647908ccb7 EXSWHTEC-72 - Implement hipMemcpyPeer/hipMemcpyPeerAsync and hipMemGetAddressRange tests (#34)
- Reimplement and expand hipMemcpyPeer/hipMemcpyPeerAsync tests using resource guards
- Implement positive and negative test for hipMemGetAddressRange
2023-01-17 17:26:45 +05:30
nives-vukovic 042cdb088a EXSWHTEC-91 - Implement tests for memcpy of 1D/2D hipArray (#32)
- Implement tests for hipMemcpyAtoH using resource guards and templates
- Implement tests for hipMemcpyHtoA using resource guards and templates
- Implement tests for hipMemcpy2DFromArray using resource guards and templates
- Implement tests for hipMemcpy2DToArray using resource guards and templates

[ROCm/hip-tests commit: 9d62df85a1]
2023-01-17 17:26:17 +05:30
nives-vukovic 9d62df85a1 EXSWHTEC-91 - Implement tests for memcpy of 1D/2D hipArray (#32)
- Implement tests for hipMemcpyAtoH using resource guards and templates
- Implement tests for hipMemcpyHtoA using resource guards and templates
- Implement tests for hipMemcpy2DFromArray using resource guards and templates
- Implement tests for hipMemcpy2DToArray using resource guards and templates
2023-01-17 17:26:17 +05:30
nives-vukovic 8a141b0b91 EXSWHTEC-92 - Implement tests for async memcpy of 2D hipArray (#31)
- Implement tests for hipMemcpy2DFromArrayAsync using resource guards and templates
- Implement tests for hipMemcpy2DToArrayAsync using resource guards and templates

[ROCm/hip-tests commit: 818923bfbc]
2023-01-17 17:25:54 +05:30
nives-vukovic 818923bfbc EXSWHTEC-92 - Implement tests for async memcpy of 2D hipArray (#31)
- Implement tests for hipMemcpy2DFromArrayAsync using resource guards and templates
- Implement tests for hipMemcpy2DToArrayAsync using resource guards and templates
2023-01-17 17:25:54 +05:30
music-dino dfe0430673 EXSWHTEC-149 - Implement tests for hipExternalMemoryGetMappedBuffer for the Vulkan API (#25)
- Basic positive test
- Negative parameter tests

[ROCm/hip-tests commit: a3e1dcd26c]
2023-01-17 17:25:07 +05:30
music-dino a3e1dcd26c EXSWHTEC-149 - Implement tests for hipExternalMemoryGetMappedBuffer for the Vulkan API (#25)
- Basic positive test
- Negative parameter tests
2023-01-17 17:25:07 +05:30
music-dino 41ea5775ea EXSWHTEC-68 - Implement tests for hipMalloc and hipExtMallocWithFlags (#19)
- Basic positive tests
- Negative parameter tests

[ROCm/hip-tests commit: 6c54bd9e37]
2023-01-17 17:24:41 +05:30
music-dino 6c54bd9e37 EXSWHTEC-68 - Implement tests for hipMalloc and hipExtMallocWithFlags (#19)
- Basic positive tests
- Negative parameter tests
2023-01-17 17:24:41 +05:30
Chauncey Hui 257336ce69 SWDEV-2 - Change OpenCL version number from 3555 to 3556
[ROCm/clr commit: 4595d88b04]
2023-01-17 03:00:06 -05:00
Chauncey Hui 4595d88b04 SWDEV-2 - Change OpenCL version number from 3555 to 3556 2023-01-17 03:00:06 -05:00
music-dino 9b9292bbdd EXSWHTEC-70 - Reimplement tests for hipMemPrefetchAsync (#17)
- Basic positive tests
- Negative parameter tests

[ROCm/hip-tests commit: 47d9bf2b3f]
2023-01-17 12:26:04 +05:30
music-dino 47d9bf2b3f EXSWHTEC-70 - Reimplement tests for hipMemPrefetchAsync (#17)
- Basic positive tests
- Negative parameter tests
2023-01-17 12:26:04 +05:30
music-dino 8237f2a7cd EXSWHTEC-74 - Implement tests for hipMemcpy and derivatives (#15)
- Basic positive tests
- Negative parameter tests

[ROCm/hip-tests commit: f5eb0da5c1]
2023-01-17 12:25:43 +05:30