Commit Graph

64512 Commits

Author SHA1 Message Date
Chris Freehill 2722be7fa9 Add CONTRIBUTING.md file
Change-Id: I8f31240d485aa1cfc259e5882de5d73d55c95409


[ROCm/rocminfo commit: 08693587d6]
2024-08-19 16:12:31 +00:00
Chris Freehill 08693587d6 Add CONTRIBUTING.md file
Change-Id: I8f31240d485aa1cfc259e5882de5d73d55c95409
2024-08-19 16:12:31 +00:00
Ranjith Ramakrishnan 8df83d6dd6 Removed kmod dependency from rocminfo
kmod dependency is not at all required for rocminfo. Removing the same from the package dependency list

Change-Id: I58f9c4305585c5dd770ea3c6a6298c30c89c31b5


[ROCm/rocminfo commit: 63ff6a4b30]
2024-08-19 16:12:31 +00:00
Ranjith Ramakrishnan 63ff6a4b30 Removed kmod dependency from rocminfo
kmod dependency is not at all required for rocminfo. Removing the same from the package dependency list

Change-Id: I58f9c4305585c5dd770ea3c6a6298c30c89c31b5
2024-08-19 16:12:31 +00:00
James Xu a621bca303 Fix compile errors with musl>=1.2.3
Patch submitted on behalf of user AngryLoki:

The fix repeats common pattern, used for musl, 
e.g: https://github.com/void-linux/void-packages/blob/5ccf1c66a1df2d644e1a0db0a68fca321469c57e/srcpkgs/MangoHud/patches/0001-elfhacks-d_un.d_ptr-is-relative-on-non-glibc-systems.patch#L90.

Quoting:
d_un.d_ptr is relative on non glibc systems

elf(5) documents it this way, glibc diverts from this documentation

Change-Id: I815f88f127ef00c88ae827a8ad48df0d33c92467
2024-08-19 11:02:29 -04:00
James Xu e5d7121245 Fix compile errors with musl>=1.2.3
Patch submitted on behalf of user AngryLoki:

The fix repeats common pattern, used for musl, 
e.g: https://github.com/void-linux/void-packages/blob/5ccf1c66a1df2d644e1a0db0a68fca321469c57e/srcpkgs/MangoHud/patches/0001-elfhacks-d_un.d_ptr-is-relative-on-non-glibc-systems.patch#L90.

Quoting:
d_un.d_ptr is relative on non glibc systems

elf(5) documents it this way, glibc diverts from this documentation

Change-Id: I815f88f127ef00c88ae827a8ad48df0d33c92467


[ROCm/ROCR-Runtime commit: a621bca303]
2024-08-19 11:02:29 -04:00
Julia Jiang d0e10ef592 SWDEV-478511 - Create deprecated memory management section for related APIs
Change-Id: I6d802f61fe787a423e2ef65e645c6395e715fd55


[ROCm/hip commit: 0facebc71d]
2024-08-16 16:45:38 -04:00
Julia Jiang 0facebc71d SWDEV-478511 - Create deprecated memory management section for related APIs
Change-Id: I6d802f61fe787a423e2ef65e645c6395e715fd55
2024-08-16 16:45:38 -04:00
Julia Jiang 7cfa620319 SWDEV-436608 - Un-deprecate hipHostAlloc()
Change-Id: Iad319e8acb13a293911bbd9242fc9ba52ebe7fbb


[ROCm/hip commit: 9f1d4625d2]
2024-08-16 16:37:44 -04:00
Julia Jiang 9f1d4625d2 SWDEV-436608 - Un-deprecate hipHostAlloc()
Change-Id: Iad319e8acb13a293911bbd9242fc9ba52ebe7fbb
2024-08-16 16:37:44 -04:00
kjayapra-amd 30609c2e65 SWDEV-465509 - Save the handle type during import function.
Change-Id: If069abb6cd474a7b071617757041402b53575414


[ROCm/clr commit: 8ddb023512]
2024-08-16 10:55:36 -04:00
kjayapra-amd 8ddb023512 SWDEV-465509 - Save the handle type during import function.
Change-Id: If069abb6cd474a7b071617757041402b53575414
2024-08-16 10:55:36 -04:00
Ioannis Assiouras 16aaab2ab3 SWDEV-470372 - Un-deprecate hipHostAlloc, comply with cuda and introduce hipHostAlloc flags
Change-Id: I0c6910306ff98d97e9f8a6ccf467be6189e1ca86


[ROCm/hipother commit: 335bb33f1b]
2024-08-16 06:33:28 -04:00
Ioannis Assiouras 335bb33f1b SWDEV-470372 - Un-deprecate hipHostAlloc, comply with cuda and introduce hipHostAlloc flags
Change-Id: I0c6910306ff98d97e9f8a6ccf467be6189e1ca86
2024-08-16 06:33:28 -04:00
Ioannis Assiouras 1110a2f345 SWDEV-470372 - Un-deprecate hipHostAlloc, comply with cuda and introduce hipHostAlloc flags
Change-Id: I8165342825dfe07b6e9edc492d0166d0a03be62d


[ROCm/clr commit: 1e4c60f286]
2024-08-15 18:25:22 -04:00
Ioannis Assiouras 1e4c60f286 SWDEV-470372 - Un-deprecate hipHostAlloc, comply with cuda and introduce hipHostAlloc flags
Change-Id: I8165342825dfe07b6e9edc492d0166d0a03be62d
2024-08-15 18:25:22 -04:00
Joseph Macaranas c7860b58f3 SWDEV-458516 - External CI: Pipeline case sensitivity fix
Change-Id: I6501cce7847b4f8bfaa435b143369362d2b8c249


[ROCm/hipother commit: 6222fa632d]
2024-08-15 17:25:21 -04:00
Joseph Macaranas 6222fa632d SWDEV-458516 - External CI: Pipeline case sensitivity fix
Change-Id: I6501cce7847b4f8bfaa435b143369362d2b8c249
2024-08-15 17:25:21 -04:00
Ioannis Assiouras 47ae5e353e SWDEV-478295 - Link with hiprtc-builtins for sample 23_cmake_hiprtc in static build
Change-Id: I9ccc1310ea2f38d8624103e198b6fc1077712345


[ROCm/hip-tests commit: e45cbdfaa1]
2024-08-15 16:37:38 -04:00
Ioannis Assiouras e45cbdfaa1 SWDEV-478295 - Link with hiprtc-builtins for sample 23_cmake_hiprtc in static build
Change-Id: I9ccc1310ea2f38d8624103e198b6fc1077712345
2024-08-15 16:37:38 -04:00
Giovanni Lenzi Baraldi 11526c0f7c ATT Agent fixes and improvements (#1011)
* Tidying ATT dispatch API. ATT Agent to be initialized with rest of profiler. Removing read_index-based wait.

* Formatting

* Adding some input validation

* Add perf test for agent

* Removing async

[ROCm/rocprofiler-sdk commit: fa1b9e67ab]
2024-08-15 13:57:13 -03:00
Giovanni Lenzi Baraldi fa1b9e67ab ATT Agent fixes and improvements (#1011)
* Tidying ATT dispatch API. ATT Agent to be initialized with rest of profiler. Removing read_index-based wait.

* Formatting

* Adding some input validation

* Add perf test for agent

* Removing async
2024-08-15 13:57:13 -03:00
Chris Freehill 1c6a4a55f1 rocrtst: change const arg to non-const
In rocrtst helper_funcs.h, a function argument that gets
written to was previously incorrectly marked as const.

Change-Id: If8cc6555ebfa974b9665d9d5b93de01bb45fde2c
2024-08-14 08:18:11 -05:00
Chris Freehill cca5b9a960 rocrtst: change const arg to non-const
In rocrtst helper_funcs.h, a function argument that gets
written to was previously incorrectly marked as const.

Change-Id: If8cc6555ebfa974b9665d9d5b93de01bb45fde2c


[ROCm/ROCR-Runtime commit: 1c6a4a55f1]
2024-08-14 08:18:11 -05:00
Rahul Manocha 4ea6eb80a1 SWDEV-454315 - Disable test section that segfaults on windows
Change-Id: Idaac99c433120d98646417318258bfb375d2f367


[ROCm/hip-tests commit: 6cf941c830]
2024-08-14 07:53:29 -04:00
Rahul Manocha 6cf941c830 SWDEV-454315 - Disable test section that segfaults on windows
Change-Id: Idaac99c433120d98646417318258bfb375d2f367
2024-08-14 07:53:29 -04:00
Ioannis Assiouras 3cc948278e SWDEV-449052 - Fix hipMemcpyParam2D when source or destination pitch is set to zero
When source or destination pitch is set to zero in hip_Memcpy2D struct
it should default to WidthInBytes + [src/dst]XInBytes

Change-Id: Id57b53cab40ba72ced231258da9356554c4868c3


[ROCm/clr commit: 7a1e818c82]
2024-08-14 04:46:41 -04:00
Ioannis Assiouras 7a1e818c82 SWDEV-449052 - Fix hipMemcpyParam2D when source or destination pitch is set to zero
When source or destination pitch is set to zero in hip_Memcpy2D struct
it should default to WidthInBytes + [src/dst]XInBytes

Change-Id: Id57b53cab40ba72ced231258da9356554c4868c3
2024-08-14 04:46:41 -04:00
Julia Jiang b449d583b1 SWDEV-447806 - fix for HIP RTC example re-uses kernel variable
Change-Id: I9a1d18868098225012d01515c60b7bcdbe7bc533


[ROCm/hip commit: ffa2f0634f]
2024-08-13 14:52:21 -04:00
Julia Jiang ffa2f0634f SWDEV-447806 - fix for HIP RTC example re-uses kernel variable
Change-Id: I9a1d18868098225012d01515c60b7bcdbe7bc533
2024-08-13 14:52:21 -04:00
Gopesh Bhardwaj ecdc81553c gobhardw/swdev 479013 (#1014)
* test pr for ROCm sdk tests

* SWDEV-479013 doc updates

[ROCm/rocprofiler-sdk commit: 5bec9f66b6]
2024-08-13 23:35:12 +05:30
Gopesh Bhardwaj 5bec9f66b6 gobhardw/swdev 479013 (#1014)
* test pr for ROCm sdk tests

* SWDEV-479013 doc updates
2024-08-13 23:35:12 +05:30
Vladana Stojiljkovic 3abef40e83 SWDEV-477711 - Add mappings for hipTexRefSetMaxAnisotropy and hipTexRefGetMaxAnisotropy
Change-Id: Ifab9ec542edf97c314d1fb47cd14461089902db4


[ROCm/hipother commit: 7b46a48be3]
2024-08-13 12:41:46 -04:00
Vladana Stojiljkovic 7b46a48be3 SWDEV-477711 - Add mappings for hipTexRefSetMaxAnisotropy and hipTexRefGetMaxAnisotropy
Change-Id: Ifab9ec542edf97c314d1fb47cd14461089902db4
2024-08-13 12:41:46 -04:00
Vladana Stojiljkovic c73afcae3a SWDEV-477711 - Add mapping for hipTexRefGetFlags
Change-Id: I008ab15256bde3786d59f2bda4b34a3336dc5edf


[ROCm/hipother commit: 58ec72277f]
2024-08-13 12:41:00 -04:00
Vladana Stojiljkovic 58ec72277f SWDEV-477711 - Add mapping for hipTexRefGetFlags
Change-Id: I008ab15256bde3786d59f2bda4b34a3336dc5edf
2024-08-13 12:41:00 -04:00
amd-jmacaran 7357714040 Enable external CI pipeline triggers
Change-Id: Ifcde2c489e5057b6bc37b02156b6232c299e4808


[ROCm/hipother commit: a44a75a56d]
2024-08-13 11:48:48 -04:00
amd-jmacaran a44a75a56d Enable external CI pipeline triggers
Change-Id: Ifcde2c489e5057b6bc37b02156b6232c299e4808
2024-08-13 11:48:48 -04:00
amd-jmacaran 5dac731f29 SWDEV-458516 - External CI: Align with branch naming convention.
Change-Id: Ie1d874742b804f02ceda68064fa54f5d59c092b7


[ROCm/clr commit: cd4ed0916b]
2024-08-13 11:47:11 -04:00
amd-jmacaran cd4ed0916b SWDEV-458516 - External CI: Align with branch naming convention.
Change-Id: Ie1d874742b804f02ceda68064fa54f5d59c092b7
2024-08-13 11:47:11 -04:00
amd-jmacaran 1ee63d0a15 SWDEV-458516 - External CI: Align with branch naming convention.
Change-Id: I3f1fb1e2c2d32a22a144c5f85d1e34a7c95b29a6


[ROCm/hip-tests commit: c75ed97b6b]
2024-08-13 11:04:47 -04:00
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