Graf commitů

64512 Commity

Autor SHA1 Zpráva Datum
Jaydeep Patel c1f83df84c SWDEV-474937 - Fix race condition between main and work thread on windows.
Change-Id: I4d6b9de41d0e5a39094eb3babe47dffde72e0587


[ROCm/clr commit: 912de7ab44]
2024-08-07 14:29:14 -04:00
Jaydeep Patel 912de7ab44 SWDEV-474937 - Fix race condition between main and work thread on windows.
Change-Id: I4d6b9de41d0e5a39094eb3babe47dffde72e0587
2024-08-07 14:29:14 -04:00
Satyanvesh Dittakavi 7df8798269 SWDEV-465195 - Fix disabled test Unit_hipDrvGetErrorString_Positive_Basic
Change-Id: Ifc05f3c5d09266b9eec9ac20a6a3301be00f91d8


[ROCm/hip-tests commit: 42d383619c]
2024-08-07 14:22:01 -04:00
Satyanvesh Dittakavi 42d383619c SWDEV-465195 - Fix disabled test Unit_hipDrvGetErrorString_Positive_Basic
Change-Id: Ifc05f3c5d09266b9eec9ac20a6a3301be00f91d8
2024-08-07 14:22:01 -04:00
Satyanvesh Dittakavi 7b818b8958 SWDEV-465152 - Fix and enable the test Unit_hipMemAdvise_AccessedBy_All_Devices
Change-Id: I160d67898898251e3aad7f3b58fe4f60e4186ea8


[ROCm/hip-tests commit: 08f9020343]
2024-08-07 14:19:35 -04:00
Satyanvesh Dittakavi 08f9020343 SWDEV-465152 - Fix and enable the test Unit_hipMemAdvise_AccessedBy_All_Devices
Change-Id: I160d67898898251e3aad7f3b58fe4f60e4186ea8
2024-08-07 14:19:35 -04:00
Ian Trowbridge cd2ff0250e SWDEV-474739: Added flag to optionally remove serialization for counter collection mode
Change-Id: I2e91fd51287fe923ec6a97b491f84f0dd9d51f62
2024-08-07 11:36:16 -05:00
Ian Trowbridge f731ae7593 SWDEV-474739: Added flag to optionally remove serialization for counter collection mode
Change-Id: I2e91fd51287fe923ec6a97b491f84f0dd9d51f62


[ROCm/rocprofiler commit: cd2ff0250e]
2024-08-07 11:36:16 -05:00
Alex Xie a381538161 SWDEV-444098 remove "rocm-ocl-icd" package
This is the first step to remove rocm-ocl-icd.
We don't build amd icd after this commit.
We still need to remove header files usage in future steps.

Change-Id: Ic4ac5476180f9ef2ce87b62891c08b28d6c9bfd2


[ROCm/clr commit: 5f775b8b7f]
2024-08-07 11:29:41 -04:00
Alex Xie 5f775b8b7f SWDEV-444098 remove "rocm-ocl-icd" package
This is the first step to remove rocm-ocl-icd.
We don't build amd icd after this commit.
We still need to remove header files usage in future steps.

Change-Id: Ic4ac5476180f9ef2ce87b62891c08b28d6c9bfd2
2024-08-07 11:29:41 -04:00
amd-jmacaran a959267ada SWDEV-458516 - External CI: Align with branch naming convention.
Change-Id: I1546a601b49f84bd24837e03f9350dc7d35af510


[ROCm/hip commit: 48eab71214]
2024-08-07 03:41:39 -04:00
amd-jmacaran 48eab71214 SWDEV-458516 - External CI: Align with branch naming convention.
Change-Id: I1546a601b49f84bd24837e03f9350dc7d35af510
2024-08-07 03:41:39 -04:00
David Yat Sin 2853bf03f0 Add new system event for memory errors
Currently, the only error type is HSA_AMD_MEMORY_ERROR_MEMORY_IN_USE,
which happens when a user application incorrectly tries to free memory
that is currently being used by underlying device hardware.

Change-Id: I8ce352eb9719694135fba1fa56d62368036b2e5e
Signed-off-by: Chris Freehill <cfreehil@amd.com>
2024-08-07 02:59:00 +00:00
David Yat Sin 6e8e4e17ae Add new system event for memory errors
Currently, the only error type is HSA_AMD_MEMORY_ERROR_MEMORY_IN_USE,
which happens when a user application incorrectly tries to free memory
that is currently being used by underlying device hardware.

Change-Id: I8ce352eb9719694135fba1fa56d62368036b2e5e
Signed-off-by: Chris Freehill <cfreehil@amd.com>


[ROCm/ROCR-Runtime commit: 2853bf03f0]
2024-08-07 02:59:00 +00:00
Saleel Kudchadker 26e105d9ab Initial external logging API
New API to accept a file stream for logging

Co-authored-by: David Yat Sin <David.YatSin@amd.com>

Change-Id: Ie09c35ae14ca86a97eb25f61251be287c55d7169
Signed-off-by: Chris Freehill <cfreehil@amd.com>
2024-08-07 02:59:00 +00:00
Saleel Kudchadker bdc02d3054 Initial external logging API
New API to accept a file stream for logging

Co-authored-by: David Yat Sin <David.YatSin@amd.com>

Change-Id: Ie09c35ae14ca86a97eb25f61251be287c55d7169
Signed-off-by: Chris Freehill <cfreehil@amd.com>


[ROCm/ROCR-Runtime commit: 26e105d9ab]
2024-08-07 02:59:00 +00:00
Jonathan R. Madsen 64af2d71ef Fix hsa_amd_vmem_address_reserve_align_fn addition
- https://gerrit-git.amd.com/c/hsa/ec/hsa-runtime/+/1058280 erroneously placed the new function pointer in the middle of the struct instead of the end

Change-Id: I49d1fa86a86764138250cd0471df1915a756d1ca
Signed-off-by: Chris Freehill <cfreehil@amd.com>
2024-08-07 02:59:00 +00:00
Jonathan R. Madsen d4e9641e19 Fix hsa_amd_vmem_address_reserve_align_fn addition
- https://gerrit-git.amd.com/c/hsa/ec/hsa-runtime/+/1058280 erroneously placed the new function pointer in the middle of the struct instead of the end

Change-Id: I49d1fa86a86764138250cd0471df1915a756d1ca
Signed-off-by: Chris Freehill <cfreehil@amd.com>


[ROCm/ROCR-Runtime commit: 64af2d71ef]
2024-08-07 02:59:00 +00:00
Chris Freehill c48b858093 Update documentation
Sync with the latest changes from upstream repo

Change-Id: I309880f5c7f77c58a8b186db320bbc0f0e634089
2024-08-07 02:58:34 +00:00
Chris Freehill 5f20d2f242 Update documentation
Sync with the latest changes from upstream repo

Change-Id: I309880f5c7f77c58a8b186db320bbc0f0e634089


[ROCm/ROCR-Runtime commit: c48b858093]
2024-08-07 02:58:34 +00:00
SrirakshaNag b57f5ccee1 fixing rocprofv3 doc (#1007)
[ROCm/rocprofiler-sdk commit: 403ab6efb1]
2024-08-06 12:39:09 -05:00
SrirakshaNag 403ab6efb1 fixing rocprofv3 doc (#1007) 2024-08-06 12:39:09 -05:00
Vladana Stojiljkovic 3ee145fff9 SWDEV-477711 - Add mapping for hipTexrefGetAddressMode
Change-Id: I8c721921760f0f09f2d93879eeeb97f457da6c58


[ROCm/hipother commit: 4f4b13e498]
2024-08-06 11:33:46 -04:00
Vladana Stojiljkovic 4f4b13e498 SWDEV-477711 - Add mapping for hipTexrefGetAddressMode
Change-Id: I8c721921760f0f09f2d93879eeeb97f457da6c58
2024-08-06 11:33:46 -04:00
Ranjith Ramakrishnan 6072326740 Prevent the modification of interpreter directives
CPACK is converting /usr/bin/env python3 to /usr/libexec/platform-python in RHEL8.
Undefining __brp_mangle_shebangs will prevent the same

Change-Id: I0803d0a6cc1ddc991e8e9a8e6617436930ef013a


[ROCm/rocminfo commit: aa8a83815e]
2024-08-06 10:54:27 -04:00
Ranjith Ramakrishnan aa8a83815e Prevent the modification of interpreter directives
CPACK is converting /usr/bin/env python3 to /usr/libexec/platform-python in RHEL8.
Undefining __brp_mangle_shebangs will prevent the same

Change-Id: I0803d0a6cc1ddc991e8e9a8e6617436930ef013a
2024-08-06 10:54:27 -04:00
Vladana Stojiljkovic 7a8a263cf7 SWDEV-432785 - Remove the mapping of __shfl* to __shfl*_sync functions on CUDA
Change-Id: I93d2ce360b834b3da01731cabc22841f7d0a092d


[ROCm/hipother commit: eb16d72255]
2024-08-06 04:38:05 -04:00
Vladana Stojiljkovic eb16d72255 SWDEV-432785 - Remove the mapping of __shfl* to __shfl*_sync functions on CUDA
Change-Id: I93d2ce360b834b3da01731cabc22841f7d0a092d
2024-08-06 04:38:05 -04:00
Jaydeep Patel 12eea11370 SWDEV-457316 - Release graph exec before stream gets deleted.
Releasing graph exec after wait completes and before delete hip::stream obj
during stream destroy.

Change-Id: I1d68aa8d844f7d3af330c6d09c44af07f8553551


[ROCm/clr commit: 8e80429b87]
2024-08-06 00:39:37 -04:00
Jaydeep Patel 8e80429b87 SWDEV-457316 - Release graph exec before stream gets deleted.
Releasing graph exec after wait completes and before delete hip::stream obj
during stream destroy.

Change-Id: I1d68aa8d844f7d3af330c6d09c44af07f8553551
2024-08-06 00:39:37 -04:00
Jaydeep Patel 82474ca1db SWDEV-465220 - Validate stream on which Kernel is planned to be launched.
Change-Id: I34c679bd888c275584c11ad3e8346d4d542976f9


[ROCm/clr commit: b0047d690a]
2024-08-06 00:31:22 -04:00
Jaydeep Patel b0047d690a SWDEV-465220 - Validate stream on which Kernel is planned to be launched.
Change-Id: I34c679bd888c275584c11ad3e8346d4d542976f9
2024-08-06 00:31:22 -04:00
Jaydeep Patel 2aafd5a30c SWDEV-457316 - Multiple graph exec can be for given stream.
Change-Id: I0f1b184eb63e0432119d62f094637d375a3d4e55


[ROCm/clr commit: d954eb64db]
2024-08-06 00:31:04 -04:00
Jaydeep Patel d954eb64db SWDEV-457316 - Multiple graph exec can be for given stream.
Change-Id: I0f1b184eb63e0432119d62f094637d375a3d4e55
2024-08-06 00:31:04 -04:00
Marko Arandjelovic babc011b35 SWDEV-476823 - Add mapping to cuTexRefGetAddress
Change-Id: I51fbcf704ae585d13a08537eaae30243b4c52d49


[ROCm/hipother commit: ba9c7c3f21]
2024-08-05 14:46:19 -04:00
Marko Arandjelovic ba9c7c3f21 SWDEV-476823 - Add mapping to cuTexRefGetAddress
Change-Id: I51fbcf704ae585d13a08537eaae30243b4c52d49
2024-08-05 14:46:19 -04:00
Marko Arandjelovic 2d77f784a1 SWDEV-477086 - Add mapping to cuTexRefGetArray
Change-Id: I3a1b96a2a0c8d4281cdc934aa582a86f24d80b28


[ROCm/hipother commit: fe927012cb]
2024-08-05 14:46:10 -04:00
Marko Arandjelovic fe927012cb SWDEV-477086 - Add mapping to cuTexRefGetArray
Change-Id: I3a1b96a2a0c8d4281cdc934aa582a86f24d80b28
2024-08-05 14:46:10 -04:00
Ranjith Ramakrishnan 6908160870 SWDEV-476075 - Prevent the modification of interpreter directives
CPACK is converting /usr/bin/env python3 to /usr/libexec/platform-python in RHEL8.
Undefining __brp_mangle_shebangs will prevent the same

Change-Id: Id285e2cea1de583853cec17eccf0a3a794cca643


[ROCm/rocm_smi_lib commit: 1b828b735b]
2024-08-05 09:50:04 -07:00
Ranjith Ramakrishnan 1b828b735b SWDEV-476075 - Prevent the modification of interpreter directives
CPACK is converting /usr/bin/env python3 to /usr/libexec/platform-python in RHEL8.
Undefining __brp_mangle_shebangs will prevent the same

Change-Id: Id285e2cea1de583853cec17eccf0a3a794cca643
2024-08-05 09:50:04 -07:00
Giovanni LB c4adefccde SWDEV-476512: Further rocsys fixes
Change-Id: I9ae8534a2b6b23f76514920a6c4d39025bc882bc
2024-08-05 10:42:00 -04:00
Giovanni LB 6defbd0f2e SWDEV-476512: Further rocsys fixes
Change-Id: I9ae8534a2b6b23f76514920a6c4d39025bc882bc


[ROCm/rocprofiler commit: c4adefccde]
2024-08-05 10:42:00 -04:00
Rakesh Roy 28cd7da1dc SWDEV-472723 - Correct file format
- Modify line ending to LF

Change-Id: I2bc840070327b204e2abb118276e2d905c29d096


[ROCm/hip-tests commit: 3bec5e988b]
2024-08-05 19:26:31 +05:30
Rakesh Roy 3bec5e988b SWDEV-472723 - Correct file format
- Modify line ending to LF

Change-Id: I2bc840070327b204e2abb118276e2d905c29d096
2024-08-05 19:26:31 +05:30
Jaydeep Patel c51153f759 SWDEV-470886 - Add maybe_undef attribute for shfl device function due to not all lanes of wave define var and compiler needs to know about this.
Change-Id: I3a683887e033305ac55362f356838b491a6d50f2


[ROCm/clr commit: 6344ddb2f3]
2024-08-05 00:53:13 -04:00
Jaydeep Patel 6344ddb2f3 SWDEV-470886 - Add maybe_undef attribute for shfl device function due to not all lanes of wave define var and compiler needs to know about this.
Change-Id: I3a683887e033305ac55362f356838b491a6d50f2
2024-08-05 00:53:13 -04:00
David Galiffi 5e5a9cabc9 This fixes the CPACK workflow failures for Ubuntu and RHEL (#368)
* Add texinfo to Ubuntu and RHEL docker files

* Add the `bison` package to Ubuntu dockerfile

* Update the CI docker files too.

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

[ROCm/rocprofiler-systems commit: d0d97490b4]
2024-08-02 16:03:19 -04:00
David Galiffi d0d97490b4 This fixes the CPACK workflow failures for Ubuntu and RHEL (#368)
* Add texinfo to Ubuntu and RHEL docker files

* Add the `bison` package to Ubuntu dockerfile

* Update the CI docker files too.

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2024-08-02 16:03:19 -04:00
srawat 2dc1c0d9f5 rocprofv3 doc updates (#982)
* updating rocprofv3

* using rocprofv3

* review updates

* naming standardization

* Update source/docs/how-to/using-rocprofv3.rst

Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com>

* review comments

* adding API references

* kernel filtering

* Remove Sphinx warn as error

To bypass false warning for linking between rst and md

* remove unused (duplicate) refs in _toc.yml.in

---------

Co-authored-by: Gopesh Bhardwaj <gopesh.bhardwaj@amd.com>
Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com>
Co-authored-by: Sam Wu <22262939+samjwu@users.noreply.github.com>
Co-authored-by: Peter Jun Park <peter.park@amd.com>

[ROCm/rocprofiler-sdk commit: 69caa62b60]
2024-08-02 14:08:04 -05:00
srawat 69caa62b60 rocprofv3 doc updates (#982)
* updating rocprofv3

* using rocprofv3

* review updates

* naming standardization

* Update source/docs/how-to/using-rocprofv3.rst

Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com>

* review comments

* adding API references

* kernel filtering

* Remove Sphinx warn as error

To bypass false warning for linking between rst and md

* remove unused (duplicate) refs in _toc.yml.in

---------

Co-authored-by: Gopesh Bhardwaj <gopesh.bhardwaj@amd.com>
Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com>
Co-authored-by: Sam Wu <22262939+samjwu@users.noreply.github.com>
Co-authored-by: Peter Jun Park <peter.park@amd.com>
2024-08-02 14:08:04 -05:00