커밋 그래프

64521 커밋

작성자 SHA1 메시지 날짜
amd-jmacaran c75ed97b6b SWDEV-458516 - External CI: Align with branch naming convention.
Change-Id: I3f1fb1e2c2d32a22a144c5f85d1e34a7c95b29a6
2024-08-13 11:04:47 -04:00
Satyanvesh Dittakavi 6907974f90 SWDEV-473942 - SWDEV-431367 - Correct atomicMax(_system) and atomicMin(_system)
- Fixes -0.0 and +0.0 comparison. For atomicMax if the value on
address is -0.0 and on val is +0.0, gfx90a's unsafe atomics will swap
them. This behavior should be consistent with cas loop as well.

- _system variants of atomicMax and atomicMin are resulting in
incorrect output. Updated these to use the similar implementation as
atomicMax and atomicMin.

Change-Id: I20df36ee29ae0434a6b564f2ba71193fe41cfa59


[ROCm/clr commit: d69cc35750]
2024-08-13 10:38:50 -04:00
Satyanvesh Dittakavi d69cc35750 SWDEV-473942 - SWDEV-431367 - Correct atomicMax(_system) and atomicMin(_system)
- Fixes -0.0 and +0.0 comparison. For atomicMax if the value on
address is -0.0 and on val is +0.0, gfx90a's unsafe atomics will swap
them. This behavior should be consistent with cas loop as well.

- _system variants of atomicMax and atomicMin are resulting in
incorrect output. Updated these to use the similar implementation as
atomicMax and atomicMin.

Change-Id: I20df36ee29ae0434a6b564f2ba71193fe41cfa59
2024-08-13 10:38:50 -04:00
Rakesh Roy ded8ea3553 SWDEV-472723 - Correct file format
- Change line ending from CRLF to LF

Change-Id: Ie75e4bd3c7d58532bc986ec61476ee6f9c5f1f95


[ROCm/hip-tests commit: 9ec381b401]
2024-08-13 13:39:48 +05:30
Rakesh Roy 9ec381b401 SWDEV-472723 - Correct file format
- Change line ending from CRLF to LF

Change-Id: Ie75e4bd3c7d58532bc986ec61476ee6f9c5f1f95
2024-08-13 13:39:48 +05:30
gobhardw 865e64753a Github issue#52 fix
Change-Id: I35b56980a918bf2582fc4c283b9f60f8512a39d0
2024-08-13 10:00:59 +05:30
gobhardw 7a807b3f63 Github issue#52 fix
Change-Id: I35b56980a918bf2582fc4c283b9f60f8512a39d0


[ROCm/rocprofiler commit: 865e64753a]
2024-08-13 10:00:59 +05:30
Galantsev, Dmitrii c015f0fcaa INSTALL - Fix rdc groups and lock file check
This fixes issues like:

1.

  /run/lock/rdcd.lock: Bad file descriptor
  Failed to determine owner of lock file.: Numerical result out of range

2.

  rdc.service: Failed to determine group credentials: No such process
  rdc.service: Failed at step GROUP spawning rdcd: No such process

Change-Id: I0ef5eb6ab72d036a3ea8dcb81f7a9108d279f7d6
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-08-12 18:54:43 -05:00
Galantsev, Dmitrii 06a1bba81a INSTALL - Fix rdc groups and lock file check
This fixes issues like:

1.

  /run/lock/rdcd.lock: Bad file descriptor
  Failed to determine owner of lock file.: Numerical result out of range

2.

  rdc.service: Failed to determine group credentials: No such process
  rdc.service: Failed at step GROUP spawning rdcd: No such process

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


[ROCm/rdc commit: c015f0fcaa]
2024-08-12 18:54:43 -05:00
Galantsev, Dmitrii c22a737ce7 INSTALL - Add rdci binary
Change-Id: I2b7047989b650d6a3998d7a5b37fad7ade876b17
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-08-12 16:58:35 -05:00
Galantsev, Dmitrii ef73a46c6c INSTALL - Add rdci binary
Change-Id: I2b7047989b650d6a3998d7a5b37fad7ade876b17
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: c22a737ce7]
2024-08-12 16:58:35 -05:00
Galantsev, Dmitrii 4ebc34095c INSTALL - Always add video group to rdc user
Previously we relied on "render" to be enough and only used "video" as a
fallback. On some systems like SLES this might not be sufficient.

One issue happened when starting rocprofiler as part of RDC
initialization:
  what():  hsa error code: 4104 HSA_STATUS_ERROR_OUT_OF_RESOURCES
The issue only happened when RDC was started with systemd.
Turns out "rdc" user (under which systemctl starts RDC) only had render
but not video group. Adding video group solved the issue.

Change-Id: Idf6a9521ae72a0b28a428869aa7ab1edde3ae259
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-08-12 16:58:35 -05:00
Galantsev, Dmitrii d541941b4c INSTALL - Always add video group to rdc user
Previously we relied on "render" to be enough and only used "video" as a
fallback. On some systems like SLES this might not be sufficient.

One issue happened when starting rocprofiler as part of RDC
initialization:
  what():  hsa error code: 4104 HSA_STATUS_ERROR_OUT_OF_RESOURCES
The issue only happened when RDC was started with systemd.
Turns out "rdc" user (under which systemctl starts RDC) only had render
but not video group. Adding video group solved the issue.

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


[ROCm/rdc commit: 4ebc34095c]
2024-08-12 16:58:35 -05:00
SrirakshaNag 02ba6d0cdc fix range iteration test (#999)
* fix range iteration test

* misc fix

* fixing test fail

* fixing test

* fix yaml test

* add newline

---------

Co-authored-by: Gopesh Bhardwaj <gopesh.bhardwaj@amd.com>

[ROCm/rocprofiler-sdk commit: 0e0b37501c]
2024-08-12 14:30:08 -05:00
SrirakshaNag 0e0b37501c fix range iteration test (#999)
* fix range iteration test

* misc fix

* fixing test fail

* fixing test

* fix yaml test

* add newline

---------

Co-authored-by: Gopesh Bhardwaj <gopesh.bhardwaj@amd.com>
2024-08-12 14:30:08 -05:00
Marko Arandjelovic e6cf9bf06f SWDEV-477699 - Add mapping to cuTexRefGetBorderColor and cuTexRefSetBorderColor
Change-Id: Id9e6874c5d075ddfcdb617aa7294bc40d2277a44


[ROCm/hipother commit: 4d0e2fe224]
2024-08-12 14:36:50 -04:00
Marko Arandjelovic 4d0e2fe224 SWDEV-477699 - Add mapping to cuTexRefGetBorderColor and cuTexRefSetBorderColor
Change-Id: Id9e6874c5d075ddfcdb617aa7294bc40d2277a44
2024-08-12 14:36:50 -04:00
Saleel Kudchadker e1d803a369 SWDEV-301667 - Update hipPerfBufferCopySpeed
Change-Id: I0200defa20ffc4a417d27b5c2c3eecf403f97673


[ROCm/hip-tests commit: 6a0fc7f31a]
2024-08-12 14:16:48 -04:00
Saleel Kudchadker 6a0fc7f31a SWDEV-301667 - Update hipPerfBufferCopySpeed
Change-Id: I0200defa20ffc4a417d27b5c2c3eecf403f97673
2024-08-12 14:16:48 -04:00
Benjamin Welton b32eb2bda9 Add support for kernel name filtering to rocprofv2
rocprofv2 does not support the "kernel:" attribute in
input files. This commit adds support for this attribute
for cli/csv output. This is requested by Alibaba/Omniperf
to have compatible execution with both v1/v2 (JSON and CTF
are not supported here and not needed).

Filtering can also be enabled by the flag ROCPROFILER_KERNEL_FILTER.

Change-Id: I376382d9e5b10a8356df8d175b1a56396b5b51d3
2024-08-12 13:41:39 -04:00
Benjamin Welton c45fbe91ff Add support for kernel name filtering to rocprofv2
rocprofv2 does not support the "kernel:" attribute in
input files. This commit adds support for this attribute
for cli/csv output. This is requested by Alibaba/Omniperf
to have compatible execution with both v1/v2 (JSON and CTF
are not supported here and not needed).

Filtering can also be enabled by the flag ROCPROFILER_KERNEL_FILTER.

Change-Id: I376382d9e5b10a8356df8d175b1a56396b5b51d3


[ROCm/rocprofiler commit: b32eb2bda9]
2024-08-12 13:41:39 -04:00
Satyanvesh Dittakavi 4a0e156ae2 SWDEV-465073 - Update hipClassKernel_Virtual test
Compiler has changed to match the device side struct layout with
the host side and hence the test is updated to verify if struct sizes
of both host and device are equal instead of checking for hardcoded
struct sizes

Change-Id: Idd9ea1f04b413b7aa30f03555fd8e0ee11cd0f75


[ROCm/hip-tests commit: 5f1dfc3851]
2024-08-12 13:39:50 -04:00
Satyanvesh Dittakavi 5f1dfc3851 SWDEV-465073 - Update hipClassKernel_Virtual test
Compiler has changed to match the device side struct layout with
the host side and hence the test is updated to verify if struct sizes
of both host and device are equal instead of checking for hardcoded
struct sizes

Change-Id: Idd9ea1f04b413b7aa30f03555fd8e0ee11cd0f75
2024-08-12 13:39:50 -04:00
Jonathan Kim ea646cf958 Disable DMABUF IPC iplementation
Current DMABUF implemenation is unstable.  Switch back to legacy
support for now.

Change-Id: I3be871f38c6524b0bcc9225bab61de4e57771efb
2024-08-12 13:14:14 -04:00
Jonathan Kim db44209c11 Disable DMABUF IPC iplementation
Current DMABUF implemenation is unstable.  Switch back to legacy
support for now.

Change-Id: I3be871f38c6524b0bcc9225bab61de4e57771efb


[ROCm/ROCR-Runtime commit: ea646cf958]
2024-08-12 13:14:14 -04:00
Satyanvesh Dittakavi 6bd51db0b1 SWDEV-475185 - Handle device id for hipStreamLegacy
Change-Id: Ib56e6edb77a923f3f9738df64cb9d9ef0b4ba564


[ROCm/clr commit: aa6d07518f]
2024-08-12 09:59:17 -04:00
Satyanvesh Dittakavi aa6d07518f SWDEV-475185 - Handle device id for hipStreamLegacy
Change-Id: Ib56e6edb77a923f3f9738df64cb9d9ef0b4ba564
2024-08-12 09:59:17 -04:00
Branislav Brzak 35782c04bc SWDEV-441285 - Add hipMemsetD32Async test
Change-Id: Iad40a8d94a556b35dd409acf2b0d2d6130e38bc0


[ROCm/hip-tests commit: 0c335250f9]
2024-08-12 06:43:50 -04:00
Branislav Brzak 0c335250f9 SWDEV-441285 - Add hipMemsetD32Async test
Change-Id: Iad40a8d94a556b35dd409acf2b0d2d6130e38bc0
2024-08-12 06:43:50 -04:00
Rakesh Roy 1fb27acc57 SWDEV-472723 - Correct file format
- Change line ending from CRLF to LF

Change-Id: I4c3cf072f143d6add7ddf66cb8d6d8a1e45f77ab


[ROCm/hip-tests commit: 101981b354]
2024-08-12 14:33:17 +05:30
Rakesh Roy 101981b354 SWDEV-472723 - Correct file format
- Change line ending from CRLF to LF

Change-Id: I4c3cf072f143d6add7ddf66cb8d6d8a1e45f77ab
2024-08-12 14:33:17 +05:30
Marko Arandjelovic b352497357 SWDEV-477711 - Map hipTexRefGetFormat to cuTexRefGetFormat
Change-Id: I21297fab6b5e420f2de5f24f9d1c7545e3e6af09


[ROCm/hipother commit: f9d31c596e]
2024-08-12 02:38:10 -04:00
Marko Arandjelovic f9d31c596e SWDEV-477711 - Map hipTexRefGetFormat to cuTexRefGetFormat
Change-Id: I21297fab6b5e420f2de5f24f9d1c7545e3e6af09
2024-08-12 02:38:10 -04:00
Ajay 3d22e51806 SWDEV-471863 - APU: device allocation greater than invisible memory
Change-Id: I37f1769873ac7dcbb3cfa51fd815ee1e2123aeae


[ROCm/clr commit: ec0971dd08]
2024-08-09 14:29:18 -04:00
Ajay ec0971dd08 SWDEV-471863 - APU: device allocation greater than invisible memory
Change-Id: I37f1769873ac7dcbb3cfa51fd815ee1e2123aeae
2024-08-09 14:29:18 -04:00
lancesix ac26812e5c external/otf2/CMakeLists: Do not pass LDFLAGS from env (#1010)
When configuring the otf2 dependency, CFLAGS, CXXFLAGS, CC and CXX are
explicitly specified, but LDFLAGS is not.  As a consequence, LDFLAGS is
picked up from the environment (if set).  In some build configurations,
the LDFLAG from the environment is not compatible with the rest of the
compiler/linker configuration options specified in CMakeLists.txt,
resulting in the configure script failing.

This patch make sure to specify an empty LDFLAGS when configuring otf2
build to avoid such issues.

Bug: SWDEV-477693

[ROCm/rocprofiler-sdk commit: 9f3cffc39a]
2024-08-09 11:17:22 -05:00
lancesix 9f3cffc39a external/otf2/CMakeLists: Do not pass LDFLAGS from env (#1010)
When configuring the otf2 dependency, CFLAGS, CXXFLAGS, CC and CXX are
explicitly specified, but LDFLAGS is not.  As a consequence, LDFLAGS is
picked up from the environment (if set).  In some build configurations,
the LDFLAG from the environment is not compatible with the rest of the
compiler/linker configuration options specified in CMakeLists.txt,
resulting in the configure script failing.

This patch make sure to specify an empty LDFLAGS when configuring otf2
build to avoid such issues.

Bug: SWDEV-477693
2024-08-09 11:17:22 -05:00
Jeffrey Novotny e2747463d0 Amend the Fix reference links in tutorial includes files commit (#398)
Signed-off-by: Jeffrey Novotny <jnovotny@amd.com>

[ROCm/rocprofiler-compute commit: b385b1230c]
2024-08-09 09:46:42 -04:00
Jeffrey Novotny b385b1230c Amend the Fix reference links in tutorial includes files commit (#398)
Signed-off-by: Jeffrey Novotny <jnovotny@amd.com>
2024-08-09 09:46:42 -04:00
xuchen-amd 2b431020ac Enable rocprofv1 for additional socs (#391)
* Enable rocprofv1 for gfx940/941/942.

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

* Enable rocprofv1 for gfx940/941/942.

Enable rocprofv1 for gfx940/941/942, removing rocscope.
Jira Tracking: https://ontrack-internal.amd.com/browse/SWDEV-474924

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

---------

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

[ROCm/rocprofiler-compute commit: 6cea66edaf]
2024-08-09 09:46:42 -04:00
xuchen-amd 6cea66edaf Enable rocprofv1 for additional socs (#391)
* Enable rocprofv1 for gfx940/941/942.

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

* Enable rocprofv1 for gfx940/941/942.

Enable rocprofv1 for gfx940/941/942, removing rocscope.
Jira Tracking: https://ontrack-internal.amd.com/browse/SWDEV-474924

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

---------

Signed-off-by: xuchen-amd <xuchen@amd.com>
2024-08-09 09:46:42 -04:00
benrichard-amd 116f88a222 Fix formatting
Signed-off-by: benrichard-amd <ben.richard@amd.com>


[ROCm/rocprofiler-compute commit: 8bcd0c9b0f]
2024-08-09 09:46:42 -04:00
benrichard-amd 8bcd0c9b0f Fix formatting
Signed-off-by: benrichard-amd <ben.richard@amd.com>
2024-08-09 09:46:42 -04:00
benrichard-amd 60402d8fa2 Fix ctests for MI100
[ROCm/rocprofiler-compute commit: 870c4d4687]
2024-08-09 09:46:42 -04:00
benrichard-amd 870c4d4687 Fix ctests for MI100 2024-08-09 09:46:42 -04:00
Peter Park f3ae7a618b Docs housekeeping post-6.2.0 (#394)
* remove leftover css

Signed-off-by: Peter Jun Park <peter.park@amd.com>

* fix link to panel_config_template.yaml

Signed-off-by: Peter Jun Park <peter.park@amd.com>

* add note in archived docs pointing to latest

Signed-off-by: Peter Jun Park <peter.park@amd.com>

rm repetition

---------

Signed-off-by: Peter Jun Park <peter.park@amd.com>

[ROCm/rocprofiler-compute commit: e8fc341345]
2024-08-09 09:46:42 -04:00
Peter Park e8fc341345 Docs housekeeping post-6.2.0 (#394)
* remove leftover css

Signed-off-by: Peter Jun Park <peter.park@amd.com>

* fix link to panel_config_template.yaml

Signed-off-by: Peter Jun Park <peter.park@amd.com>

* add note in archived docs pointing to latest

Signed-off-by: Peter Jun Park <peter.park@amd.com>

rm repetition

---------

Signed-off-by: Peter Jun Park <peter.park@amd.com>
2024-08-09 09:46:42 -04:00
David Galiffi b3b044d5bc Prep work for branch renaming (#389)
* Add `amd-staging` and `amd-mainline` to workflow.
* Update branch names in documentation
* Change `dev` to `amd-staging` and `main` to `amd-mainline` in documentation.
* Remove references from 2.x from workflows.
* Convert the link to LICENSE to a relative path in CONTRIBUTING.

---------

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

[ROCm/rocprofiler-compute commit: e176d8eec8]
2024-08-09 09:46:42 -04:00
David Galiffi e176d8eec8 Prep work for branch renaming (#389)
* Add `amd-staging` and `amd-mainline` to workflow.
* Update branch names in documentation
* Change `dev` to `amd-staging` and `main` to `amd-mainline` in documentation.
* Remove references from 2.x from workflows.
* Convert the link to LICENSE to a relative path in CONTRIBUTING.

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2024-08-09 09:46:42 -04:00
benrichard-amd 44b629302e Fix ctests failure on MI200
Same as MI300, the tests were looking for files no longer produced by omniperf.


[ROCm/rocprofiler-compute commit: 5cd25714e6]
2024-08-09 09:46:42 -04:00