Commit Graph

64521 Commits

Author SHA1 Message Date
Jonathan R. Madsen f8d52a6dbf Add release links to installation.md (#351) 2024-06-19 15:10:42 -05:00
David Galiffi 648edf3820 Check for an empty vector before popping (#350)
Protect from possible seg. fault

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

[ROCm/rocprofiler-systems commit: 59e7b4b501]
2024-06-19 14:59:23 -04:00
David Galiffi 59e7b4b501 Check for an empty vector before popping (#350)
Protect from possible seg. fault

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2024-06-19 14:59:23 -04:00
Benjamin Welton df0f321286 Incremental Counter Profile Creation (#933)
* Incremental Counter Profile Creation

Adds support for incremental counter creation. How this functions is the
behavior of rocprofiler_create_profile_config has been changed.

rocprofiler_create_profile_config(rocprofiler_agent_id_t           agent_id,
                                  rocprofiler_counter_id_t*        counters_list,
                                  size_t                           counters_count,
                                  rocprofiler_profile_config_id_t* config_id)

The behavior of this function now allows an existing config_id to be
supplied via config_id. The counters contained in this config will be
copied over and used as a base for a new config along with any counters
supplied in counters_list. The new config id is returned via config_id
and can be used in future dispatch/agent counting sessions.

A new config is created over modifying an existing config since there
is no gaurentee that the existing config isn't already in use. While we
could add locks (or other mutual exclusion properties) to check if its
in use and reject an update, the benefit from doing so is minor in
comparison to just creating a new config. This also side steps a common
pattern a tool may use to add additional counters at some point later on
during execution. Now they can do that without destroying the existing
config.

---------

Co-authored-by: Benjamin Welton <ben@amd.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

[ROCm/rocprofiler-sdk commit: 81d1407565]
2024-06-19 00:11:03 -07:00
Benjamin Welton 81d1407565 Incremental Counter Profile Creation (#933)
* Incremental Counter Profile Creation

Adds support for incremental counter creation. How this functions is the
behavior of rocprofiler_create_profile_config has been changed.

rocprofiler_create_profile_config(rocprofiler_agent_id_t           agent_id,
                                  rocprofiler_counter_id_t*        counters_list,
                                  size_t                           counters_count,
                                  rocprofiler_profile_config_id_t* config_id)

The behavior of this function now allows an existing config_id to be
supplied via config_id. The counters contained in this config will be
copied over and used as a base for a new config along with any counters
supplied in counters_list. The new config id is returned via config_id
and can be used in future dispatch/agent counting sessions.

A new config is created over modifying an existing config since there
is no gaurentee that the existing config isn't already in use. While we
could add locks (or other mutual exclusion properties) to check if its
in use and reject an update, the benefit from doing so is minor in
comparison to just creating a new config. This also side steps a common
pattern a tool may use to add additional counters at some point later on
during execution. Now they can do that without destroying the existing
config.

---------

Co-authored-by: Benjamin Welton <ben@amd.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-19 00:11:03 -07:00
Benjamin Welton 88f277107e Replicate global counters across all derived counters (#936)
Fix derived counters to have globals replicated across all architectures (that support them).
---------

Co-authored-by: Benjamin Welton <ben@amd.com>

[ROCm/rocprofiler-sdk commit: ab92bef1a4]
2024-06-18 23:40:19 -07:00
Benjamin Welton ab92bef1a4 Replicate global counters across all derived counters (#936)
Fix derived counters to have globals replicated across all architectures (that support them).
---------

Co-authored-by: Benjamin Welton <ben@amd.com>
2024-06-18 23:40:19 -07:00
Istvan Kiss 1927a839ed SWDEV-464475 - HIP supported GPUs
- Suggestion
- Fix CUDA GPUs link
- Remove incorrect only phrase
- MD fix
- Fix link

Change-Id: Ib8a0011d64cc413dc4354254a804045a3540abe6


[ROCm/hip commit: 8c51dc9438]
2024-06-19 01:00:43 -04:00
Istvan Kiss 8c51dc9438 SWDEV-464475 - HIP supported GPUs
- Suggestion
- Fix CUDA GPUs link
- Remove incorrect only phrase
- MD fix
- Fix link

Change-Id: Ib8a0011d64cc413dc4354254a804045a3540abe6
2024-06-19 01:00:43 -04:00
Ranjith Ramakrishnan 0e2b7a7623 SWDEV-468081 - Remove package provides field from RPM and DEB package
The provides tag is required when the package provides a virtual package.
Package name along with version will be provided by default and the provides tag is not required for this.
Using the tag for providing the name, but without version was resulting in package upgrade issues.

Change-Id: I74506d8c3bbd75d028bcdc03525c29541dce2b4c


[ROCm/rocm_smi_lib commit: d54bade574]
2024-06-18 18:27:53 -04:00
Ranjith Ramakrishnan d54bade574 SWDEV-468081 - Remove package provides field from RPM and DEB package
The provides tag is required when the package provides a virtual package.
Package name along with version will be provided by default and the provides tag is not required for this.
Using the tag for providing the name, but without version was resulting in package upgrade issues.

Change-Id: I74506d8c3bbd75d028bcdc03525c29541dce2b4c
2024-06-18 18:27:53 -04:00
Galantsev, Dmitrii a885944d97 SWDEV-468423 - Install authentication scripts
Change-Id: I4289fa546bf44861c18f71e156c84a4f7dd4a2ed
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-06-18 17:20:12 -05:00
Galantsev, Dmitrii 3132f91d38 SWDEV-468423 - Install authentication scripts
Change-Id: I4289fa546bf44861c18f71e156c84a4f7dd4a2ed
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: a885944d97]
2024-06-18 17:20:12 -05:00
taosang2 83eb6e766d SWDEV-465162 - Fix some issue with image support
Fix some small issues regarding image and mipmap support

Change-Id: I8e64223d44f37c2dbb115cbb343441a48021ba7b


[ROCm/clr commit: 1566ff7639]
2024-06-18 16:38:24 -04:00
taosang2 1566ff7639 SWDEV-465162 - Fix some issue with image support
Fix some small issues regarding image and mipmap support

Change-Id: I8e64223d44f37c2dbb115cbb343441a48021ba7b
2024-06-18 16:38:24 -04:00
Rahul Manocha dd3dc744a4 [SWDEV-445928] - hipMemAdvise XNACK test fix
Change-Id: Ibc6d57b513269d33b611b0f62e02bbc4bfebe0a1


[ROCm/hip-tests commit: cc703e501c]
2024-06-18 15:41:30 -04:00
Rahul Manocha cc703e501c [SWDEV-445928] - hipMemAdvise XNACK test fix
Change-Id: Ibc6d57b513269d33b611b0f62e02bbc4bfebe0a1
2024-06-18 15:41:30 -04:00
taosang2 20417d5b0f SWDEV-467540 - Fix reference of freed locks
1.Move global amd::monitor listenerLock before global
class runtime_tear_down as it will be referenced in
~RuntimeTearDown() after main(). It should be freed
later than runtime_tear_down.

2.Update  Device::~Device() to SVM free coopHostcallBuffer_
before context_ is released and freed.

Change-Id: I1d21378ff463477d3238d71e5e2a1a7d6b9147ad


[ROCm/clr commit: 544c45364f]
2024-06-18 13:58:36 -04:00
taosang2 544c45364f SWDEV-467540 - Fix reference of freed locks
1.Move global amd::monitor listenerLock before global
class runtime_tear_down as it will be referenced in
~RuntimeTearDown() after main(). It should be freed
later than runtime_tear_down.

2.Update  Device::~Device() to SVM free coopHostcallBuffer_
before context_ is released and freed.

Change-Id: I1d21378ff463477d3238d71e5e2a1a7d6b9147ad
2024-06-18 13:58:36 -04:00
kjayapra-amd 5536be3e39 SWDEV-446045 - Adding static library compilation info for HIP runtime.
Change-Id: I24ad80d70f5f35cad19695861134a7ad98638754


[ROCm/clr commit: c775721b26]
2024-06-18 11:42:02 -04:00
kjayapra-amd c775721b26 SWDEV-446045 - Adding static library compilation info for HIP runtime.
Change-Id: I24ad80d70f5f35cad19695861134a7ad98638754
2024-06-18 11:42:02 -04:00
Istvan Kiss de85c03c91 SWDEV-464475 - HIP definition update in index.md
And add autodetection note to install

Change-Id: I14018bc9f62a0bf204d75a23d6f7aa404645fbb3


[ROCm/hip commit: 6cfd1a9355]
2024-06-18 10:29:03 -04:00
Istvan Kiss 6cfd1a9355 SWDEV-464475 - HIP definition update in index.md
And add autodetection note to install

Change-Id: I14018bc9f62a0bf204d75a23d6f7aa404645fbb3
2024-06-18 10:29:03 -04:00
Istvan Kiss 73c730c032 SWDEV-464475 - Add linting and spellcheck
- Markdown fixes
- Fix spellcheck
- Clean up
- Supress etoc warning
- Remove folder before clone if it's exist
- Change liniting.yml to use develop
- Trailing white space fix

Change-Id: Ib3bb2cdd0abebeb21071b5d2e2d3b57fe41666e0


[ROCm/hip commit: bd624d0938]
2024-06-18 07:15:12 -04:00
Istvan Kiss bd624d0938 SWDEV-464475 - Add linting and spellcheck
- Markdown fixes
- Fix spellcheck
- Clean up
- Supress etoc warning
- Remove folder before clone if it's exist
- Change liniting.yml to use develop
- Trailing white space fix

Change-Id: Ib3bb2cdd0abebeb21071b5d2e2d3b57fe41666e0
2024-06-18 07:15:12 -04:00
Sameer Sahasrabuddhe a305b19afc SWDEV-466743 - fix return type of shfl instructions in docs
Change-Id: Ia40d635dd469962e70ce2217688c744f1f58bdc5


[ROCm/hip commit: 87ee9b28a4]
2024-06-18 01:28:27 -04:00
Sameer Sahasrabuddhe 87ee9b28a4 SWDEV-466743 - fix return type of shfl instructions in docs
Change-Id: Ia40d635dd469962e70ce2217688c744f1f58bdc5
2024-06-18 01:28:27 -04:00
Rupam Chetia 6309c03274 SWDEV-311271 - [catch2][dtest] Adding test for mempool and stream ordered memory APIs
Change-Id: Iddeb111e4b512bfc7422abc8e784b0a8e8fb133d


[ROCm/hip-tests commit: 456001c308]
2024-06-18 00:22:49 -04:00
Rupam Chetia 456001c308 SWDEV-311271 - [catch2][dtest] Adding test for mempool and stream ordered memory APIs
Change-Id: Iddeb111e4b512bfc7422abc8e784b0a8e8fb133d
2024-06-18 00:22:49 -04:00
Ranjith Ramakrishnan 17e9b6cedb SWDEV-383837 - Update hip-samples package dependencies
hip-samples package should depends on hip-dev/devel and hipcc rather than hip-runtime-amd
Updated the same for static package as well

DependsOn: Iacab7993dffaa00efd1344d3eafb55f6317d1509
Change-Id: I1470475ddbaf9201ba0e39977aeb48b0382f59c9


[ROCm/hip-tests commit: 0b28ca3f04]
2024-06-17 19:34:13 -04:00
Ranjith Ramakrishnan 0b28ca3f04 SWDEV-383837 - Update hip-samples package dependencies
hip-samples package should depends on hip-dev/devel and hipcc rather than hip-runtime-amd
Updated the same for static package as well

DependsOn: Iacab7993dffaa00efd1344d3eafb55f6317d1509
Change-Id: I1470475ddbaf9201ba0e39977aeb48b0382f59c9
2024-06-17 19:34:13 -04:00
Rahul Manocha 92b0b9fbc2 [SWDEV-438556][SWDEV-450826][SWDEV-449018] - Fix cooperative group catch tests
Change-Id: I553afe9c684b9ae60ce84231d7a5fbd6532a20e6


[ROCm/hip-tests commit: 6df445fef6]
2024-06-17 17:22:26 -04:00
Rahul Manocha 6df445fef6 [SWDEV-438556][SWDEV-450826][SWDEV-449018] - Fix cooperative group catch tests
Change-Id: I553afe9c684b9ae60ce84231d7a5fbd6532a20e6
2024-06-17 17:22:26 -04:00
Galantsev, Dmitrii 4c21eea71d Fix assignment of member dismiss_
This patch fixes error:
    error: assignment of member 'dismiss_' in read-only object

Reported by kind Gentoo folks:
<https://bugs.gentoo.org/918709>

Change-Id: I7cc593043e97402afd85593c528ace86952b1350
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rocm_smi_lib commit: 12c8237705]
2024-06-17 16:56:46 -04:00
Galantsev, Dmitrii 12c8237705 Fix assignment of member dismiss_
This patch fixes error:
    error: assignment of member 'dismiss_' in read-only object

Reported by kind Gentoo folks:
<https://bugs.gentoo.org/918709>

Change-Id: I7cc593043e97402afd85593c528ace86952b1350
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-06-17 16:56:46 -04:00
Rahul Manocha b46f7c8f6a [SWDEV-454661] - Test updates for memcpy direction change
Change-Id: I4065595f92abc101ce54fa587af874c1d6737033


[ROCm/hip-tests commit: 23259fb1c6]
2024-06-17 14:09:55 -04:00
Rahul Manocha 23259fb1c6 [SWDEV-454661] - Test updates for memcpy direction change
Change-Id: I4065595f92abc101ce54fa587af874c1d6737033
2024-06-17 14:09:55 -04:00
jatang e7b96b1e71 SWDEV-458392 - Add gfx12 support.
Change-Id: I91bb6a3329bf77f26005a345c18b63b86922028a
2024-06-17 13:24:48 -04:00
jatang c8d58d1986 SWDEV-458392 - Add gfx12 support.
Change-Id: I91bb6a3329bf77f26005a345c18b63b86922028a


[ROCm/rocprofiler commit: e7b96b1e71]
2024-06-17 13:24:48 -04:00
Ioannis Assiouras d9a6402c12 SWDEV-468151 - Fixed segfault during destruction of arena_mem_obj
Change-Id: I1ebfa965bd243890dcb54d9b55992ae68c497bf0


[ROCm/clr commit: aee0b1db39]
2024-06-17 15:27:08 +01:00
Ioannis Assiouras aee0b1db39 SWDEV-468151 - Fixed segfault during destruction of arena_mem_obj
Change-Id: I1ebfa965bd243890dcb54d9b55992ae68c497bf0
2024-06-17 15:27:08 +01:00
Vladana Stojiljkovic 2fb506a22c SWDEV-441291 - Add test for hipFreeArray
Change-Id: Idd48de2de4837370b0434dba82b68b92635f5cfe


[ROCm/hip-tests commit: dcb656301c]
2024-06-17 05:49:03 -04:00
Vladana Stojiljkovic dcb656301c SWDEV-441291 - Add test for hipFreeArray
Change-Id: Idd48de2de4837370b0434dba82b68b92635f5cfe
2024-06-17 05:49:03 -04:00
Anusha GodavarthySurya 291f079669 SWDEV-467102 - Hidden heap init for graph capture
If the graph has kernels that does device side allocation,  during packet capture, heap is
allocated because heap pointer has to be added to the AQL packet, and initialized during
graph launch.

Handle race with wait when 2 kernels with device heap are enqueued on multiple streams.

Change-Id: I45933b77fcaf7bc8fdf1bc906462e32b5d8d3688


[ROCm/clr commit: 57156c524d]
2024-06-17 02:07:25 -04:00
Anusha GodavarthySurya 57156c524d SWDEV-467102 - Hidden heap init for graph capture
If the graph has kernels that does device side allocation,  during packet capture, heap is
allocated because heap pointer has to be added to the AQL packet, and initialized during
graph launch.

Handle race with wait when 2 kernels with device heap are enqueued on multiple streams.

Change-Id: I45933b77fcaf7bc8fdf1bc906462e32b5d8d3688
2024-06-17 02:07:25 -04:00
David Galiffi a8595dc524 Removing static version asserts. (#347)
It is causing failures on our internal builds

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

[ROCm/rocprofiler-systems commit: f9ae806b78]
2024-06-15 12:33:08 +05:30
David Galiffi f9ae806b78 Removing static version asserts. (#347)
It is causing failures on our internal builds

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2024-06-15 12:33:08 +05:30
David Galiffi f27b8786b0 SWDEV-468065 - Update version file to 6.3.0
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
Change-Id: Id2a6ed6186811f828f79ef0130836a7b2f279006


[ROCm/hip commit: 9a46e783fc]
2024-06-14 22:29:57 -04:00
David Galiffi 9a46e783fc SWDEV-468065 - Update version file to 6.3.0
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
Change-Id: Id2a6ed6186811f828f79ef0130836a7b2f279006
2024-06-14 22:29:57 -04:00
Ranjith Ramakrishnan c8bc9e3f2e SWDEV-383837 - Update the package dependencies
The hip libraries depends on multiple standard shared libraries.
Corresponding packages are added to the dependency list.
Removed hipcc from hip-runtime package dependency list
Rearranged the package dependencies as well

The base (docker) images usually comes with the standard packages installed.
So even without the standard packages in dependency list, the installation will go through.
But its good to have all the required packages in the dependency list.

Change-Id: Iacab7993dffaa00efd1344d3eafb55f6317d1509


[ROCm/clr commit: 7dc71710dd]
2024-06-14 20:34:22 -04:00