76333 Коммитов

Автор SHA1 Сообщение Дата
colramos-amd 72f0f86eae Carry over fixed numSQCs calc from #247
Co-authored-by: Nick Curtis <nicholas.curtis@amd.com>
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 2001908fd8]
2024-03-01 15:50:42 -06:00
colramos-amd 2001908fd8 Carry over fixed numSQCs calc from #247
Co-authored-by: Nick Curtis <nicholas.curtis@amd.com>
Signed-off-by: colramos-amd <colramos@amd.com>
2024-03-01 15:50:42 -06:00
colramos-amd 62cafd2bdc Including remaining metric fixes from #251
Co-authored-by: Nick Curtis <nicholas.curtis@amd.com>
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 3ce140d04b]
2024-03-01 15:50:42 -06:00
colramos-amd 3ce140d04b Including remaining metric fixes from #251
Co-authored-by: Nick Curtis <nicholas.curtis@amd.com>
Signed-off-by: colramos-amd <colramos@amd.com>
2024-03-01 15:50:42 -06:00
colramos-amd 2ecc5a4246 Renaming global spec vars. Replacing L2Banks with total_l2_chan (#251)
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 86b6c8e848]
2024-03-01 15:50:42 -06:00
colramos-amd 86b6c8e848 Renaming global spec vars. Replacing L2Banks with total_l2_chan (#251)
Signed-off-by: colramos-amd <colramos@amd.com>
2024-03-01 15:50:42 -06:00
colramos-amd 5352eafde4 Reorganize the specs module to reduce duplicate code
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 3b1b8d7b5b]
2024-03-01 15:50:42 -06:00
colramos-amd 3b1b8d7b5b Reorganize the specs module to reduce duplicate code
Signed-off-by: colramos-amd <colramos@amd.com>
2024-03-01 15:50:42 -06:00
Saleel Kudchadker 4ff5ec0a02 SWDEV-301667 - Better log
- Print SWq for AQL packets, this helps correlating a stream to the HWq
mapped

Change-Id: I610430c0872a1abc6636027c00163ec46983cd65


[ROCm/clr commit: 984c86f407]
2024-03-01 16:43:06 -05:00
Saleel Kudchadker 984c86f407 SWDEV-301667 - Better log
- Print SWq for AQL packets, this helps correlating a stream to the HWq
mapped

Change-Id: I610430c0872a1abc6636027c00163ec46983cd65
2024-03-01 16:43:06 -05:00
Wenkai Du f4bedf20a3 Merge pull request #61 from ROCm/nccl_tests_sync
Nccl tests sync

[ROCm/rccl-tests commit: b9b73002da]
2024-03-01 11:54:43 -08:00
Wenkai Du b9b73002da Merge pull request #61 from ROCm/nccl_tests_sync
Nccl tests sync
2024-03-01 11:54:43 -08:00
arvindcheru 2bef503049 Merge pull request #7 from arvindcheru/master-local-merge2
Merging all the changes from internal development gerrit to github

[ROCm/rocm-core commit: 9b163aa567]
2024-03-01 14:50:17 -05:00
arvindcheru 9b163aa567 Merge pull request #7 from arvindcheru/master-local-merge2
Merging all the changes from internal development gerrit to github
2024-03-01 14:50:17 -05:00
David Galiffi d3514ae1de SWDEV-437292 - Update CODEOWNERS file
Add @nunnikri, @frepaul, @raramakr, @ashutom, and @amd-isparry
as CODEOWNERS.

Signed-off-by: David Galiffi
Change-Id: I1b4fa626bda8012cac569917d1d2a79afada7168


[ROCm/rocm-core commit: 90846043b9]
2024-03-01 11:02:24 -08:00
David Galiffi 90846043b9 SWDEV-437292 - Update CODEOWNERS file
Add @nunnikri, @frepaul, @raramakr, @ashutom, and @amd-isparry
as CODEOWNERS.

Signed-off-by: David Galiffi
Change-Id: I1b4fa626bda8012cac569917d1d2a79afada7168
2024-03-01 11:02:24 -08:00
AravindanC 589e51f09d Adding Method to get ROCM Install Path
Change-Id: Ib8ff920402e9f5d41c0ff8a0e4b76a18596e20e2


[ROCm/rocm-core commit: d338714f4d]
2024-03-01 11:02:24 -08:00
AravindanC d338714f4d Adding Method to get ROCM Install Path
Change-Id: Ib8ff920402e9f5d41c0ff8a0e4b76a18596e20e2
2024-03-01 11:02:24 -08:00
Wenkai Du b49f6da1ec Merge remote-tracking branch 'nccl-tests/master' into HEAD
[ROCm/rccl-tests commit: 621dde544d]
2024-03-01 18:34:44 +00:00
Wenkai Du 621dde544d Merge remote-tracking branch 'nccl-tests/master' into HEAD 2024-03-01 18:34:44 +00:00
Ajay d220fd894b SWDEV-441112 - nvidia build failures.
Use hip-path instead of rocm-path.
Issue only seen with custom hip-path

Change-Id: I5981dcedbce2b0e61da0d05d725b5ae4640cf6ac


[ROCm/hip-tests commit: 010f4bb0b0]
2024-03-01 12:17:29 -05:00
Ajay 010f4bb0b0 SWDEV-441112 - nvidia build failures.
Use hip-path instead of rocm-path.
Issue only seen with custom hip-path

Change-Id: I5981dcedbce2b0e61da0d05d725b5ae4640cf6ac
2024-03-01 12:17:29 -05:00
Maisam Arif 463817f344 SWDEV-448626 - Removed gpu prefix in non-csv formats
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I77fc58828a978080482e6ab01ff89f1f5a554dc5
2024-03-01 09:09:23 -06:00
Maisam Arif ab907b4fd8 SWDEV-448626 - Removed gpu prefix in non-csv formats
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I77fc58828a978080482e6ab01ff89f1f5a554dc5


[ROCm/amdsmi commit: 463817f344]
2024-03-01 09:09:23 -06:00
Jatin Chaudhary 286599824e SWDEV-441629 - add some missing hiprtc link options
Change-Id: I10019823e212c6d4de6df30c0fe1c20d9e992f29


[ROCm/clr commit: 7f9651d4bb]
2024-03-01 07:49:57 -05:00
Jatin Chaudhary 7f9651d4bb SWDEV-441629 - add some missing hiprtc link options
Change-Id: I10019823e212c6d4de6df30c0fe1c20d9e992f29
2024-03-01 07:49:57 -05:00
Anusha GodavarthySurya 0bbe324c18 SWDEV-448586 - Added new API hipStreamBeginCaptureToGraph
Change-Id: I0e101bcdc09e3770682df07b1ef6c07c4669ea49


[ROCm/hip commit: edf2e473e3]
2024-03-01 03:43:59 -05:00
Anusha GodavarthySurya edf2e473e3 SWDEV-448586 - Added new API hipStreamBeginCaptureToGraph
Change-Id: I0e101bcdc09e3770682df07b1ef6c07c4669ea49
2024-03-01 03:43:59 -05:00
Jonathan R. Madsen cb6b79c323 Fix rocprofiler_iterate_callback_tracing_kind_operation_args for HIP compiler callbacks (#532)
* Fix HIP compiler iterate args

- `include/rocprofiler-sdk/hip/api_args.h`
  - replace struct fields named "f" with "func"
  - replace hip stream fields named "hStream" with "stream"
- `lib/rocprofiler-sdk/callback_tracing.cpp`
  - iterate_args for HIP compiler table
- `lib/rocprofiler-sdk/registration.cpp`
  - fix warning about roctx num_tables
- `lib/rocprofiler-sdk/hip/hip.def.cpp`
  - replace struct fields named "f" with "func"
  - replace hip stream fields named "hStream" with "stream"
- `lib/rocprofiler-sdk/{hip,hsa,marker}/utils.hpp`
  - improve `stringize_impl`
- `lib/rocprofiler-sdk/hsa/code_object.cpp`
  - remove stale commented out code
- `lib/rocprofiler-sdk/hsa/queue_controller.*`
  - destory_queue -> destroy_queue
- `tests/tools/json-tool.cpp`
  - improve parallelism in tool_tracing_callback
  - serialize the marker api args
  - only invoke rocprofiler_iterate_callback_tracing_kind_operation_args in exit phase
- `samples/counter_collection/CMakeLists.txt`
  - reduce timeout on tests to 120 seconds

* Update lib/rocprofiler-sdk/hsa/utils.hpp

- disable dereference of double pointer in stringize_impl

* Update lib/common

- indirection_level in mpl.hpp
- stringize_arg.hpp

* Rework rocprofiler_iterate_callback_tracing_kind_operation_args

- provide more information in rocprofiler_callback_tracing_operation_args_cb_t
- support specifying the dereference level to account for output paramters

[ROCm/rocprofiler-sdk commit: 1bb94add11]
2024-03-01 01:46:07 -06:00
Jonathan R. Madsen 1bb94add11 Fix rocprofiler_iterate_callback_tracing_kind_operation_args for HIP compiler callbacks (#532)
* Fix HIP compiler iterate args

- `include/rocprofiler-sdk/hip/api_args.h`
  - replace struct fields named "f" with "func"
  - replace hip stream fields named "hStream" with "stream"
- `lib/rocprofiler-sdk/callback_tracing.cpp`
  - iterate_args for HIP compiler table
- `lib/rocprofiler-sdk/registration.cpp`
  - fix warning about roctx num_tables
- `lib/rocprofiler-sdk/hip/hip.def.cpp`
  - replace struct fields named "f" with "func"
  - replace hip stream fields named "hStream" with "stream"
- `lib/rocprofiler-sdk/{hip,hsa,marker}/utils.hpp`
  - improve `stringize_impl`
- `lib/rocprofiler-sdk/hsa/code_object.cpp`
  - remove stale commented out code
- `lib/rocprofiler-sdk/hsa/queue_controller.*`
  - destory_queue -> destroy_queue
- `tests/tools/json-tool.cpp`
  - improve parallelism in tool_tracing_callback
  - serialize the marker api args
  - only invoke rocprofiler_iterate_callback_tracing_kind_operation_args in exit phase
- `samples/counter_collection/CMakeLists.txt`
  - reduce timeout on tests to 120 seconds

* Update lib/rocprofiler-sdk/hsa/utils.hpp

- disable dereference of double pointer in stringize_impl

* Update lib/common

- indirection_level in mpl.hpp
- stringize_arg.hpp

* Rework rocprofiler_iterate_callback_tracing_kind_operation_args

- provide more information in rocprofiler_callback_tracing_operation_args_cb_t
- support specifying the dereference level to account for output paramters
2024-03-01 01:46:07 -06:00
ChingShihLi 5ca2131ce0 SWDEV-413377 - Segfault for hipLaunchKernel with multi GPUs
- Using runtime unbundler, no any gfx device can load fat binary,
if there is any device without available code object.

- Extract available code object to corresponding gfx devices. So
users can work ROCm with those ready devices without segmentation
fault.

Change-Id: I9f14c65ecebf2d3c4b127a007cb434a3ae98c450


[ROCm/clr commit: 6723277ad4]
2024-03-01 02:24:22 -05:00
ChingShihLi 6723277ad4 SWDEV-413377 - Segfault for hipLaunchKernel with multi GPUs
- Using runtime unbundler, no any gfx device can load fat binary,
if there is any device without available code object.

- Extract available code object to corresponding gfx devices. So
users can work ROCm with those ready devices without segmentation
fault.

Change-Id: I9f14c65ecebf2d3c4b127a007cb434a3ae98c450
2024-03-01 02:24:22 -05:00
Jonathan R. Madsen 15302ff11d C compatibility for public headers (#566)
* C compatibility for public headers

- add tests/tools/c-tool.c
  - builds a tool (which does nothing) with C language
  - ensures that tool can be compiled in C
- add tests/c-tool/CMakeLists.txt
  - ensures that tool library build from C is a valid tool
- rocprofiler_counter_info_v0_t is_derived is int instead of bool
  - C does not have bool unless <stdbool.h> is included
- add `include/rocprofiler-sdk/hsa/api_trace_version.h
  - handles providing HSA_*_TABLE_(MAJOR|STEP)_VERSION values if compiled from C
- cmake define in version.h.in for ROCPROFILER_HSA_*_TABLE_(MAJOR|STEP)_VERSION
  - HSA table versions compiled with
- use rocprofiler_(hsa|hip|marker)_api_no_args struct to handle incompatibility b/t empty structs in C vs. C++ (size of 0 vs. size of 1)
- extern "C" in include/rocprofiler-sdk/{hsa,hip,marker}/api_args.h
- fixed spelling error: derrived -> derived
- scope YY_NO_INPUT compile definition to lib/rocprofiler-sdk/counters/parser/*

* Revert CDash dashboard

[ROCm/rocprofiler-sdk commit: a1267e1fd2]
2024-02-29 23:49:54 -06:00
Jonathan R. Madsen a1267e1fd2 C compatibility for public headers (#566)
* C compatibility for public headers

- add tests/tools/c-tool.c
  - builds a tool (which does nothing) with C language
  - ensures that tool can be compiled in C
- add tests/c-tool/CMakeLists.txt
  - ensures that tool library build from C is a valid tool
- rocprofiler_counter_info_v0_t is_derived is int instead of bool
  - C does not have bool unless <stdbool.h> is included
- add `include/rocprofiler-sdk/hsa/api_trace_version.h
  - handles providing HSA_*_TABLE_(MAJOR|STEP)_VERSION values if compiled from C
- cmake define in version.h.in for ROCPROFILER_HSA_*_TABLE_(MAJOR|STEP)_VERSION
  - HSA table versions compiled with
- use rocprofiler_(hsa|hip|marker)_api_no_args struct to handle incompatibility b/t empty structs in C vs. C++ (size of 0 vs. size of 1)
- extern "C" in include/rocprofiler-sdk/{hsa,hip,marker}/api_args.h
- fixed spelling error: derrived -> derived
- scope YY_NO_INPUT compile definition to lib/rocprofiler-sdk/counters/parser/*

* Revert CDash dashboard
2024-02-29 23:49:54 -06:00
jujiang 3cde9aacb2 SWDEV-444835 - Porting changelog from 6.1 to staging
Change-Id: I85b2993485da797df4ac3e146481c341680c4595


[ROCm/clr commit: 574d946cfb]
2024-02-29 23:44:02 -05:00
jujiang 574d946cfb SWDEV-444835 - Porting changelog from 6.1 to staging
Change-Id: I85b2993485da797df4ac3e146481c341680c4595
2024-02-29 23:44:02 -05:00
Saleel Kudchadker 939642fed7 SWDEV-301667 - Increase default signal pool to 4096
Change-Id: I4ab23b0f87e295b40ab76ad6e96249d11b8ad04d


[ROCm/clr commit: 94c7004df8]
2024-02-29 22:52:02 +00:00
Saleel Kudchadker 94c7004df8 SWDEV-301667 - Increase default signal pool to 4096
Change-Id: I4ab23b0f87e295b40ab76ad6e96249d11b8ad04d
2024-02-29 22:52:02 +00:00
Giovanni LB c6575ab01c SWDEV-448279: Disabling CTF tests
Change-Id: I63f915862fe28b51206ed58424d3358385103110
2024-02-29 18:43:50 -03:00
Giovanni LB 36377e3d51 SWDEV-448279: Disabling CTF tests
Change-Id: I63f915862fe28b51206ed58424d3358385103110


[ROCm/rocprofiler commit: c6575ab01c]
2024-02-29 18:43:50 -03:00
German Andryeyev 01c1d8f568 SWDEV-311271 - Fix mempool tests
- Reduce the number of blocks in execution, because small allocations
can cause page faults and make the system unstable after
- Change error codes

Change-Id: I77561ffa236e05ad08afdcc79b7770bf36fcdf50


[ROCm/hip-tests commit: 8ef86d1c7c]
2024-02-29 15:21:20 -05:00
German Andryeyev 8ef86d1c7c SWDEV-311271 - Fix mempool tests
- Reduce the number of blocks in execution, because small allocations
can cause page faults and make the system unstable after
- Change error codes

Change-Id: I77561ffa236e05ad08afdcc79b7770bf36fcdf50
2024-02-29 15:21:20 -05:00
JoseSantosAMD f240822ea1 Fix off by one out of range kernel filtering (#287)
* Fi off by one out of range kernel filtering

Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>

* reformat

Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>

---------

Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>

[ROCm/rocprofiler-compute commit: 4ad124a207]
2024-02-29 12:38:37 -06:00
JoseSantosAMD 4ad124a207 Fix off by one out of range kernel filtering (#287)
* Fi off by one out of range kernel filtering

Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>

* reformat

Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>

---------

Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
2024-02-29 12:38:37 -06:00
JoseSantosAMD 055bda677a Supress warning: RuntimeWarning: Mean of empty slice (#271)
* Supress warning: RuntimeWarning: Mean of empty slice

Signed-off-by: Jose Santos <josantos@login1.hpcfund>

* Move import to top

Signed-off-by: Jose Santos <josantos@login1.hpcfund>

* Specify type of RuntimeWarning in catcher. Safer approach

Signed-off-by: colramos-amd <colramos@amd.com>

* Comply to formatting

Signed-off-by: colramos-amd <colramos@amd.com>

---------

Signed-off-by: Jose Santos <josantos@login1.hpcfund>
Signed-off-by: colramos-amd <colramos@amd.com>
Co-authored-by: Jose Santos <josantos@login1.hpcfund>
Co-authored-by: colramos-amd <colramos@amd.com>

[ROCm/rocprofiler-compute commit: f42aa6c7e0]
2024-02-29 12:14:46 -06:00
JoseSantosAMD f42aa6c7e0 Supress warning: RuntimeWarning: Mean of empty slice (#271)
* Supress warning: RuntimeWarning: Mean of empty slice

Signed-off-by: Jose Santos <josantos@login1.hpcfund>

* Move import to top

Signed-off-by: Jose Santos <josantos@login1.hpcfund>

* Specify type of RuntimeWarning in catcher. Safer approach

Signed-off-by: colramos-amd <colramos@amd.com>

* Comply to formatting

Signed-off-by: colramos-amd <colramos@amd.com>

---------

Signed-off-by: Jose Santos <josantos@login1.hpcfund>
Signed-off-by: colramos-amd <colramos@amd.com>
Co-authored-by: Jose Santos <josantos@login1.hpcfund>
Co-authored-by: colramos-amd <colramos@amd.com>
2024-02-29 12:14:46 -06:00
Wenkai Du e5aedb153e Add support for using contiguous for GPU direct RDMA (#1096)
Enabled by env var RCCL_NET_CONTIGUOUS_MEM=1

[ROCm/rccl commit: cbd955627e]
2024-02-29 10:06:43 -08:00
Wenkai Du cbd955627e Add support for using contiguous for GPU direct RDMA (#1096)
Enabled by env var RCCL_NET_CONTIGUOUS_MEM=1
2024-02-29 10:06:43 -08:00
Karl W Schulz 0dc03e2157 Update CI configuration
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>


[ROCm/rocprofiler-compute commit: e63c24c618]
2024-02-29 10:58:38 -06:00
Karl W Schulz e63c24c618 Update CI configuration
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
2024-02-29 10:58:38 -06:00