76333 İşleme

Yazar SHA1 Mesaj Tarih
Jonathan R. Madsen 3c5da3e666 Add rocprofiler-register support
- Add API table versioning defines to hip_api_trace.hpp
- Add rocprofiler-register implementation in hip_api_trace.cpp
  - created ToolInit implementation
  - moved some local functions into anonymous namespace
  - renamed some function to be overloads
  - made most of the initialization code templated (reduced code duplication)
  - enforce ABI
- Updated hipamd/src/CMakeLists.txt
  - find rocprofiler-register package (enabled by default but not required)
- Address review comments
  - simplify size calculation for dispatch table
  - remove setting .size field in GetDispatchTableImpl
- Fix windows build
- Do not enforce ABI on Windows

Change-Id: I08766e8a083528a1236996274bf4522e0e8a1b9f


[ROCm/clr commit: 0f1fdc7794]
2024-01-13 01:02:59 -06:00
Jonathan R. Madsen 0f1fdc7794 Add rocprofiler-register support
- Add API table versioning defines to hip_api_trace.hpp
- Add rocprofiler-register implementation in hip_api_trace.cpp
  - created ToolInit implementation
  - moved some local functions into anonymous namespace
  - renamed some function to be overloads
  - made most of the initialization code templated (reduced code duplication)
  - enforce ABI
- Updated hipamd/src/CMakeLists.txt
  - find rocprofiler-register package (enabled by default but not required)
- Address review comments
  - simplify size calculation for dispatch table
  - remove setting .size field in GetDispatchTableImpl
- Fix windows build
- Do not enforce ABI on Windows

Change-Id: I08766e8a083528a1236996274bf4522e0e8a1b9f
2024-01-13 01:02:59 -06:00
Galantsev, Dmitrii 673087e6a0 Remove word 'error' from non-error message
This simplifies grep lookup

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


[ROCm/rocm_smi_lib commit: 147af192b5]
2024-01-12 15:18:55 -06:00
Galantsev, Dmitrii 147af192b5 Remove word 'error' from non-error message
This simplifies grep lookup

Change-Id: I46cd13e0ab414791655fd93e8dcf270a946a6687
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-01-12 15:18:55 -06:00
Kiriti Gowda 66b9fe33c1 Readme - Fix (#173)
* Readme - Fix

* Fix - aligments

[ROCm/rocdecode commit: 301efb2d1b]
2024-01-12 16:18:28 -05:00
Kiriti Gowda 301efb2d1b Readme - Fix (#173)
* Readme - Fix

* Fix - aligments
2024-01-12 16:18:28 -05:00
Kiriti Gowda 5125b2add5 Readme - Updates
Fix Image

[ROCm/rocdecode commit: 07dd095a6a]
2024-01-12 12:48:43 -08:00
Kiriti Gowda 07dd095a6a Readme - Updates
Fix Image
2024-01-12 12:48:43 -08:00
Kiriti Gowda f1677e09b3 Readme - updates & Fixes (#172)
* Readme - updates & fixes

* Readme - Logo

* Readme - prereqs updates

[ROCm/rocdecode commit: 83b076fa1d]
2024-01-12 15:35:53 -05:00
Kiriti Gowda 83b076fa1d Readme - updates & Fixes (#172)
* Readme - updates & fixes

* Readme - Logo

* Readme - prereqs updates
2024-01-12 15:35:53 -05:00
German 339523c475 SWDEV-440746 - Limit WG for compute P2P
Use only 16 workgroups for compute P2P copies.
That should be enough to utilize XGMI bandwidth.

Change-Id: I60dfe019279bb95f93c8874244c1738aad1896d8


[ROCm/clr commit: 31101c6219]
2024-01-12 14:56:29 -05:00
German 31101c6219 SWDEV-440746 - Limit WG for compute P2P
Use only 16 workgroups for compute P2P copies.
That should be enough to utilize XGMI bandwidth.

Change-Id: I60dfe019279bb95f93c8874244c1738aad1896d8
2024-01-12 14:56:29 -05:00
Lakshmi Kumar c7b2172448 fixes bug with device id provided by user (#171)
* fixes bug when setting env variable

* fix for device id

[ROCm/rocdecode commit: e7be5f2bbf]
2024-01-12 14:54:44 -05:00
Lakshmi Kumar e7be5f2bbf fixes bug with device id provided by user (#171)
* fixes bug when setting env variable

* fix for device id
2024-01-12 14:54:44 -05:00
Lakshmi Kumar d8c4040967 fixes bug when setting env variable (#170)
[ROCm/rocdecode commit: 2a1f1d7dff]
2024-01-12 14:04:47 -05:00
Lakshmi Kumar 2a1f1d7dff fixes bug when setting env variable (#170) 2024-01-12 14:04:47 -05:00
Pedram Alizadeh d08ca128db Merge pull request #1042 from PedramAlizadeh/revert_2.18.5
Revert nccl "2.18.5-1" from 2.18.6

[ROCm/rccl commit: 80726361b9]
2024-01-12 12:00:12 -05:00
Pedram Alizadeh 80726361b9 Merge pull request #1042 from PedramAlizadeh/revert_2.18.5
Revert nccl "2.18.5-1" from 2.18.6
2024-01-12 12:00:12 -05:00
PedramAlizadeh 7cc572ecf9 Revert "2.18.5-1"
This reverts commit 26b91b9dbb.


[ROCm/rccl commit: 767fde8210]
2024-01-12 16:54:19 +00:00
PedramAlizadeh 767fde8210 Revert "2.18.5-1"
This reverts commit 559b70f86c.
2024-01-12 16:54:19 +00:00
sdashmiz 29eba6df09 SWDEV-421027 - Add hipGraphAddNode
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ic8cf293ff483ee2547b52d2975062bcb9a6f5d17


[ROCm/clr commit: d23835ffbe]
2024-01-12 11:36:30 -05:00
sdashmiz d23835ffbe SWDEV-421027 - Add hipGraphAddNode
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ic8cf293ff483ee2547b52d2975062bcb9a6f5d17
2024-01-12 11:36:30 -05:00
Jatin Chaudhary a65d07302f SWDEV-438181 - check stream associated with event
...before we dereference it. It might have been deleted.

Change-Id: Ief832ee0907658a40ca42b9d78d19658153a05dd


[ROCm/clr commit: 2cfb8bc3c1]
2024-01-12 10:39:20 -05:00
Jatin Chaudhary 2cfb8bc3c1 SWDEV-438181 - check stream associated with event
...before we dereference it. It might have been deleted.

Change-Id: Ief832ee0907658a40ca42b9d78d19658153a05dd
2024-01-12 10:39:20 -05:00
Julia Jiang c23d97cdd8 SWDEV-410522 - Update doxygen config file to handle default parameter
Change-Id: I92afc697ecd772743d2200b621d19e9911d3d9f8


[ROCm/hip commit: 355b16b473]
2024-01-12 10:08:57 -05:00
Julia Jiang 355b16b473 SWDEV-410522 - Update doxygen config file to handle default parameter
Change-Id: I92afc697ecd772743d2200b621d19e9911d3d9f8
2024-01-12 10:08:57 -05:00
Ioannis Assiouras 5d5d8e52e1 SWDEV-430116 - Re-enabled fixed tests on Windows
Unit_hipFreeAsync_negative
Unit_hipLaunchHostFunc_multistreams
Unit_hipGraphMem_Alloc_Free_NodeGetParams_Negative

Change-Id: Ic7b00b688ded737d1762b2c8795c0772107dbb64


[ROCm/hip-tests commit: 7939517b03]
2024-01-12 15:25:42 +05:30
Ioannis Assiouras 7939517b03 SWDEV-430116 - Re-enabled fixed tests on Windows
Unit_hipFreeAsync_negative
Unit_hipLaunchHostFunc_multistreams
Unit_hipGraphMem_Alloc_Free_NodeGetParams_Negative

Change-Id: Ic7b00b688ded737d1762b2c8795c0772107dbb64
2024-01-12 15:25:42 +05:30
Benjamin Welton cf296be224 Fix init order for getMetricIdMap (#341)
* Fix init order for getMetricIdMap

Ensure that getMetricIdMap() stays valid until the destruction
of the counting service. Adds a test to ensure that this behavior
is maintained (this test fails without this change).

* source formatting (clang-format v11) (#343)

Co-authored-by: bwelton <bwelton@users.noreply.github.com>

* cmake formatting (cmake-format) (#342)

Co-authored-by: bwelton <bwelton@users.noreply.github.com>

* Remove threading

* Update usage of rocprofiler::counters::get{Metric,MetricId}Map()

- uses common::static_object

* Update counter init_order testing

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: bwelton <bwelton@users.noreply.github.com>
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>

[ROCm/rocprofiler-sdk commit: ef71cc38c1]
2024-01-11 23:35:12 -08:00
Benjamin Welton ef71cc38c1 Fix init order for getMetricIdMap (#341)
* Fix init order for getMetricIdMap

Ensure that getMetricIdMap() stays valid until the destruction
of the counting service. Adds a test to ensure that this behavior
is maintained (this test fails without this change).

* source formatting (clang-format v11) (#343)

Co-authored-by: bwelton <bwelton@users.noreply.github.com>

* cmake formatting (cmake-format) (#342)

Co-authored-by: bwelton <bwelton@users.noreply.github.com>

* Remove threading

* Update usage of rocprofiler::counters::get{Metric,MetricId}Map()

- uses common::static_object

* Update counter init_order testing

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: bwelton <bwelton@users.noreply.github.com>
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
2024-01-11 23:35:12 -08:00
Kiriti Gowda 9670ca5423 CI - Fix test (#169)
Test updates

[ROCm/rocdecode commit: 2d0a3d35f7]
2024-01-11 20:18:37 -08:00
Kiriti Gowda 2d0a3d35f7 CI - Fix test (#169)
Test updates
2024-01-11 20:18:37 -08:00
Sameer Sahasrabuddhe 2dba215643 SWDEV-295298: introduce warp sync functions
The following builtins from the CUDA spec are implemented:

  - __all_sync, __any_sync, __ballot_sync and __activemask
  - __match_any_sync and __match_all_sync
  - __shfl_sync, __shfl_up_sync, __shfl_down_sync, and __shfl_xor_sync

The following builtins are NOT implemented, pending support in the compiler:

  - __reduce_add_sync, __reduce_min_sync, __reduce_max_sync
  - __reduce_and_sync, __reduce_or_sync, __reduce_xor_sync

Change-Id: I07dedbbfe5449f4b5c9b040bed59f5603ccec8c3


[ROCm/clr commit: c5ab5680b4]
2024-01-11 22:31:27 -05:00
Sameer Sahasrabuddhe c5ab5680b4 SWDEV-295298: introduce warp sync functions
The following builtins from the CUDA spec are implemented:

  - __all_sync, __any_sync, __ballot_sync and __activemask
  - __match_any_sync and __match_all_sync
  - __shfl_sync, __shfl_up_sync, __shfl_down_sync, and __shfl_xor_sync

The following builtins are NOT implemented, pending support in the compiler:

  - __reduce_add_sync, __reduce_min_sync, __reduce_max_sync
  - __reduce_and_sync, __reduce_or_sync, __reduce_xor_sync

Change-Id: I07dedbbfe5449f4b5c9b040bed59f5603ccec8c3
2024-01-11 22:31:27 -05:00
dependabot[bot] fc73c738ba Bump jinja2 from 3.1.2 to 3.1.3 in /docs/sphinx (#1040)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

[ROCm/rccl commit: a1ee3e1ba9]
2024-01-11 17:02:03 -07:00
dependabot[bot] a1ee3e1ba9 Bump jinja2 from 3.1.2 to 3.1.3 in /docs/sphinx (#1040)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 17:02:03 -07:00
Saleel Kudchadker 9864d6e56c SWDEV-301667 - Missing marker for hipExtLaunch* optimization
- Use isFenceDirty() check in hipStreamQuery.
In case if there is a stopEvent for hipExtLaunch* API we avoid system
scope if there are consecutive hipExtLaunch* and replace them with agent
scope, but then if one uses hipStreamQuery it should detect we need a
barrier with system scope.

Change-Id: I539810f659d4e1c49104e3a0da6ff2803c6b3dee


[ROCm/clr commit: 4b3c4709ff]
2024-01-11 18:19:30 -05:00
Saleel Kudchadker 4b3c4709ff SWDEV-301667 - Missing marker for hipExtLaunch* optimization
- Use isFenceDirty() check in hipStreamQuery.
In case if there is a stopEvent for hipExtLaunch* API we avoid system
scope if there are consecutive hipExtLaunch* and replace them with agent
scope, but then if one uses hipStreamQuery it should detect we need a
barrier with system scope.

Change-Id: I539810f659d4e1c49104e3a0da6ff2803c6b3dee
2024-01-11 18:19:30 -05:00
jiabaxie 5def5b2ec5 SWDEV-437702 - implemented hipGetProcAddress
Change-Id: I70498841aefae85593b8ae1abf34d1cec8f232bc


[ROCm/hip commit: a4e5fd1ae1]
2024-01-11 18:04:43 -05:00
jiabaxie a4e5fd1ae1 SWDEV-437702 - implemented hipGetProcAddress
Change-Id: I70498841aefae85593b8ae1abf34d1cec8f232bc
2024-01-11 18:04:43 -05:00
Sam Wu c785a58e99 [ROCDOC-95] Standardize documentation for ReadtheDocs
Apply the following changes to project documentation for ReadtheDocs:

add version number to documentation left navigation bar and page title
add an "About" section with a license page
enable htmlzip, pdf, epub formats when publishing on Read the Docs
set pdf title, author, copyright, and version
rename .sphinx/.doxygen to sphinx/doxygen
remove docBin from URL
update rocm-docs-core dependency
update dependabot config

Change-Id: Ife8c89a2e9323f436b3e54ef2a9e013c19b3b228


[ROCm/rocm_smi_lib commit: 67dc4b0f2a]
2024-01-11 17:47:58 -05:00
Sam Wu 67dc4b0f2a [ROCDOC-95] Standardize documentation for ReadtheDocs
Apply the following changes to project documentation for ReadtheDocs:

add version number to documentation left navigation bar and page title
add an "About" section with a license page
enable htmlzip, pdf, epub formats when publishing on Read the Docs
set pdf title, author, copyright, and version
rename .sphinx/.doxygen to sphinx/doxygen
remove docBin from URL
update rocm-docs-core dependency
update dependabot config

Change-Id: Ife8c89a2e9323f436b3e54ef2a9e013c19b3b228
2024-01-11 17:47:58 -05:00
Bertan Dogancay 3d54c3fe5c Add codeowners (#1041)
[ROCm/rccl commit: ff7c9c4050]
2024-01-11 15:41:08 -07:00
Bertan Dogancay ff7c9c4050 Add codeowners (#1041) 2024-01-11 15:41:08 -07:00
Rahul Manocha ee3f99f59f SWDEV-421025 - Graph Kernel node priority attribute
Change-Id: I6a4f08020e8aa1ff6fb06eabd376aa266b9c04bc


[ROCm/hip commit: f653cd037a]
2024-01-11 16:57:12 -05:00
Rahul Manocha f653cd037a SWDEV-421025 - Graph Kernel node priority attribute
Change-Id: I6a4f08020e8aa1ff6fb06eabd376aa266b9c04bc
2024-01-11 16:57:12 -05:00
jujiang 898e647f84 SWDEV-410522 - Fix a doxygen warning in a header in AMD platform
Change-Id: I29cd222af453c42a5d472081747bacf0c3f8d17c


[ROCm/clr commit: 2a2fea6c07]
2024-01-11 13:40:25 -05:00
jujiang 2a2fea6c07 SWDEV-410522 - Fix a doxygen warning in a header in AMD platform
Change-Id: I29cd222af453c42a5d472081747bacf0c3f8d17c
2024-01-11 13:40:25 -05:00
Ioannis Assiouras 12b4ce5e50 SWDEV-422655 - Fixed Unit_hipTextureMipmapRef2D
-Fixed and re-anabled test Unit_hipTextureMipmapRef2D_Positive_Check on windows.
-Check cuda version to prevent build issues on nvidia.

Change-Id: I7f9481f7bd9a7622197a626519c8f6a80c72768d


[ROCm/hip-tests commit: 4274ec139d]
2024-01-11 06:45:07 -05:00
Ioannis Assiouras 4274ec139d SWDEV-422655 - Fixed Unit_hipTextureMipmapRef2D
-Fixed and re-anabled test Unit_hipTextureMipmapRef2D_Positive_Check on windows.
-Check cuda version to prevent build issues on nvidia.

Change-Id: I7f9481f7bd9a7622197a626519c8f6a80c72768d
2024-01-11 06:45:07 -05:00