Ioannis Assiouras
f05a33968f
SWDEV-570500 - Fixed graph node to stream scheduling in multistream path ( #2596 )
2026-01-21 20:48:46 +00:00
Sam Ruscica
5daeb14582
SWDEV-547291 - Interop for OpenGL ( #2350 )
...
Updated to convert flags correctly
Added ObjectRegistry to track registered and mapped resources and incorporated it into hip_gl.
Added mip level check
Made functions static in-line
Reworked validation to be more clear.
2026-01-21 09:08:55 -08:00
Ioannis Assiouras
59aa56a340
hip-issue-3876 : Take into account thread-local capture mode in checks for valid capture ( #2177 )
2026-01-20 18:42:27 +00:00
Karthik Jayaprakash
99c3a06f4e
SWDEV-549518 - Enable logging dynamically through HIP APIS. ( #1079 )
...
* SWDEV-549518 - Enable logging dynamically through HIP APIS.
* SWDEV-549518 - Adding ROCProfiler related new API changes.
* rocprofiler-sdk changes for hip api additions.
---------
Co-authored-by: Venkateshwar Reddy Kandula <venkateshwar.kandula1306@gmail.com >
Co-authored-by: jainprad <92369414+jainprad@users.noreply.github.com >
2026-01-19 16:16:14 -05:00
Filip Jankovic
29cd25df66
Add hipDeviceAttributeExpertSchedMode ( #2435 )
...
* Add hipDeviceAttributeExpertSchedMode
---------
Co-authored-by: Stefan Sokolovic <stefan.sokolovic2@amd.com >
* Update hipDeviceAttributeExpertSchedMode unit test
* Move check to ROCr from thunk interface
* Revert unrelated whitespace changes
* Revert version bump
---------
Co-authored-by: Stefan Sokolovic <stefan.sokolovic2@amd.com >
2026-01-15 08:41:39 -08:00
Jin Jung
d4758bc29e
SWDEV-570501 - Add Windows support for hipGraphicsGLRegisterBuffer ( #2323 )
2026-01-12 13:10:46 -06:00
Andrei Kochin
5e15839611
Revert "SWDEV-566854 - Improve memory object handling ( #1939 )" ( #2572 )
...
This reverts commit 39d8432893 .
rocprim failures were introduced with the commit.
Based on the @erman-gurses investigation:
Based on the list here:
2789ea4...050e88e
https://github.com/ROCm/TheRock/actions/runs/20864279671 -> e005f84 (FAILED)
https://github.com/ROCm/TheRock/actions/runs/20867580342 -> 39d8432 (FAILED)
https://github.com/ROCm/TheRock/actions/runs/20870979894 -> 88f4bb1 (PASSED)
https://github.com/ROCm/TheRock/actions/runs/20872795557 -> 11d9472 (PASSED)
So the issue comes from this commit SWDEV-566854 - Improve memory object handling (#1939 ) SHA: 39d8432
2026-01-12 12:09:16 -05:00
AidanBeltonS
3309d7176b
SWDEV-557148 - Set primary context when device set ( #1161 )
...
* SWDEV-557148 - Set activate context when device set
* clang-format
* Check for active status
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-09 17:09:40 +00:00
Godavarthy Surya, Anusha
1ef6a86ee3
SWDEV-549711 - Improve graph DEBUG dot print for segments ( #2205 )
...
Co-authored-by: Anusha GodavarthySurya<agodavar@amd.com >
2026-01-07 14:07:49 +05:30
Gerardo Hernandez
50644f5aef
SWDEV-508225 remove assertions when loading fat binary ( #2013 )
...
* SWDEV-508225 - do not assert() after calling digestFatBinary() if it fails. Otherwise this causes assertions to trigger easily in systems that have an APU and a discrete GPU and the code was compiled for the discrete one
* SWDEV-508225 - fix that when using a non-existent ordinal in HIP_VISIBLE_DEVICES, getCurrentArch() would crash
2026-01-06 21:53:32 +00:00
AidanBeltonS
39d8432893
SWDEV-566854 - Improve memory object handling ( #1939 )
...
* Improve memory object handling for memcpy
* update
* Pass offsets and make hip_graph changes
* Update projects/clr/hipamd/src/hip_memory.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Remove unnecessary command overload
* Update based on feedback
* Fix failing hipGraphTests
* Fix graph bugs
* Fix failing memcpy tests
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-05 18:05:56 +00:00
Sourabh U Betigeri
fdc1660dfa
SWDEV-565304 - Pass numa node to migrate pages correctly ( #1729 )
...
* SWDEV-565304 - Pass cpuId of the the thread currently running
* SWDEV-565304 - Numa id to be returned
* SWDEV-565304 - Numa id to be returned
2025-12-19 13:36:53 -08:00
Sourabh U Betigeri
883fdfb820
Revert "clr: Minor fixes for error return" ( #2399 )
...
- This reverts commit 8dd8436e43c7f0d062fd73252bf61c35615d181d.
- Resolve MIOpen test failures observed in TheRock
- TheRock Issue: ROCm/TheRock#2642
- room-systems issue: #2400
2025-12-18 18:40:13 -05:00
Jatin Chaudhary
fdf73116d5
Do not allocate code objects when we map a static code object ( #2332 )
2025-12-18 09:22:02 +00:00
Maneesh Gupta
4a9833e70e
Revert "Add HasExpertSchedMode device prop ( #2241 )" ( #2371 )
...
This reverts commit c0b4aef5ad .
2025-12-17 21:26:44 -08:00
Filip Jankovic
c0b4aef5ad
Add HasExpertSchedMode device prop ( #2241 )
...
* Add HasExpertSchedMode device prop
* Add unit tests for HasExpertSchedMode
* Add gfx12 check for HasExpertSchedMode prop
* Update gfx major version check and test for ExpertSchedMode
* Minor fix and ROCr version bump
* Update projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_ext_amd.h
* Update projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_ext_amd.h
* Apply suggestion from @dayatsin-amd
* Apply suggestion from @dayatsin-amd
---------
Co-authored-by: Stefan Sokolovic <stefan.sokolovic2@amd.com >
Co-authored-by: David Yat Sin <77975354+dayatsin-amd@users.noreply.github.com >
2025-12-17 17:06:08 +01:00
systems-assistant[bot]
b002c6a739
SWDEV-538607 - Add SIMDe as a build dependency, remove naked intrinsic use. ( #500 )
...
Co-authored-by: Alex Voicu <alexandru.voicu@amd.com >
Co-authored-by: Ioannis Assiouras <Ioannis.Assiouras@amd.com >
2025-12-15 17:40:51 +00:00
SaleelK
840301e12d
clr: Minor fixes for error return ( #2153 )
2025-12-11 16:59:56 -08:00
German Andryeyev
3895aadba6
SWDEV-558849 - Make ROCR path in Windows more stable ( #2181 )
2025-12-10 12:37:10 -05:00
Jatin Chaudhary
eea93d58a2
SWDEV-554626 - return correct error code ( #1107 )
...
* SWDEV-554626 - return hipErrorInvalidDeviceFunction when we can not load module
Return correct error code when modules are empty
* Match the error codes
* Revert the error code
2025-12-09 16:10:25 +01:00
Shadi Dashmiz
4812d8e78b
SWDEV-566783 - clean up cmgr helper ( #1864 )
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
2025-12-08 10:37:03 -05:00
Ioannis Assiouras
3faf36fb25
Fix Unit_hipStreamBeginCaptureToGraph_CapturePartialInThreads ( #2072 )
...
https://mlsejenkinsvm.amd.com/job/rocm-systems/job/hip/view/change-requests/job/PR-2072/6/
The last windowsCI has passed successfully
2025-12-08 13:30:23 +01:00
Ajay GunaShekar
d6f6435b88
SWDEV-526504 - Remove perl dependency in hip/clr build ( #964 )
...
* SWDEV-1 - Remove perl dependency in hip/clr build
* SWDEV-1 - use python3 inplace of perl for formatting date,time
2025-12-05 08:42:15 -08:00
Julia Jiang
272f06506f
SWDEV-549696 - Fix HIP catch sub-test failure for MipmappedArray ( #1198 )
...
Co-authored-by: JeniferC99 <150404595+JeniferC99@users.noreply.github.com >
2025-12-05 11:00:06 -05:00
SaleelK
c105dcd05b
clr: Use graph segment scheduling to process HIP Graphs ( #1372 )
...
* clr: Use graph segment scheduling to process HIP Graphs
* Add a broader path to use capture packet capture for all topologies
* Refactor code
* Use DEBUG_HIP_GRAPH_SEGMENT_SCHEDULING to toggle new vs classic path,
Enabled by default
* clr: Few fixes and improvements
* clr: Detect complex graphs to take classic path
* Use DEBUG_HIP_GRAPH_SEGMENT_SCHEDULING=2 to force segment scheduling
path
* clr: Fix a cornercase stack corruption
* clr: Track commands of segments instead of snapshots
* clr: Fix Batch dispatch logic
* Track fence_dirty_ flag for command of other streams
* Dependency resolution markers can now accomodate dirty fence on cross
streams
---------
Co-authored-by: Ioannis Assiouras <Ioannis.Assiouras@amd.com >
Co-authored-by: Godavarthy Surya, Anusha <agodavar@amd.com >
2025-12-01 12:49:26 -08:00
vstojilj
77f58ceb9f
SWDEV-558557 - Remove duplicate nodes when capturing hipMemcpyAsync ( #1226 )
2025-12-01 11:25:13 +01:00
vstojilj
1c09c87cc7
SWDEV-564927 - Allow sizeBytes to be 0 when hipMemsetAsync is captured ( #1849 )
2025-11-27 17:13:33 +01:00
Godavarthy Surya, Anusha
2e1c37a926
SWDEV-490861 - Remove recursion and extra loop in hipGraphLaunch ( #1792 )
2025-11-27 10:25:08 +00:00
Shadi Dashmiz
962b99f925
SWDEV-567514: Remove default stream wait ( #1977 )
...
- when virtual map command is called
- can create deadlock
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
2025-11-26 15:11:52 -05:00
AidanBeltonS
d849b88aef
SWDEV-558080 - Add recommended granularity ( #1176 )
...
* Add recommended granularity
* Improve granularity testing
* Update based on feedback
2025-11-26 16:10:58 +00:00
Karthik Jayaprakash
740a06d567
SWDEV-559267 - Use CLPrint to DevLogPrintf with Log Level - detail debug. ( #1160 )
2025-11-25 19:25:32 -05:00
German Andryeyev
93682f2f75
SWDEV-567852 - Clean-up hip::init() ( #1948 )
2025-11-25 19:05:41 -05:00
Pengda Xie
6c31785eaf
SWDEV-562761 - Cleanup static fatbin on runtime teardown ( #1873 )
2025-11-24 21:57:46 -08:00
Marius Brehler
2dc32d645b
Explicitly load versioned libamdhip64.so ( #1872 )
...
* Explicitly load versioned libamdhip64.so
* Fix syntax errors
* Fix when patching happens in Windows workflow
---------
Co-authored-by: Joseph Macaranas <145489236+jayhawk-commits@users.noreply.github.com >
Co-authored-by: ammallya <ameyakeshava.mallya@amd.com >
2025-11-24 10:05:05 -08:00
sluzynsk-amd
2cf9faa93f
SWDEV-563777 - fix warnings related to inconsistent overrides ( #1625 )
...
This patch adds missing override keywords. Fixes this class of warnings.
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com >
2025-11-24 18:50:07 +01:00
Ioannis Assiouras
7313c3752a
SWDEV-567475 - Fix failures in graph tests due to GraphExec destroy h… ( #1917 )
2025-11-22 23:01:47 +00:00
Satyanvesh Dittakavi
07dd4c85e7
SWDEV-546308 - Implement hipKernelGetParamInfo API ( #1783 )
2025-11-12 14:09:26 +05:30
jofrn
8f9da259ac
Fix memory leak in hip_fatbin.cpp UncompressAndPopulateCodeObject ( #1692 )
...
Wrap amd_comgr_data_t item returned from action_data_get_data() in
ComgrDataUniqueHandle to ensure it gets released.
2025-11-11 16:48:06 -05:00
Todd tiantuo Li
cf536a8c1a
SWDEV-554372 - Add 3 HIP_GET_PROC_ADDRESS_xxx flags ( #1771 )
2025-11-10 23:29:40 -08:00
Jin Jung
324a5519b9
SWDEV-563842 - Fix Memory Address Offset Bug ( #1749 )
...
* SWDEV-563842 - Fix Memory Address Offset Bug
* Revert "SWDEV-563842 - Fix Memory Address Offset Bug"
This reverts commit 477958dc48300ee1fe0166aa6f0d3d8125b91f5e.
* SWDEV-563842 - Fix Memcpy Address Offset Bug
* SWDEV-563842 - Find Memcpy Device Address Offset
* Revert "SWDEV-563842 - Find Memcpy Device Address Offset"
This reverts commit 6c75a9e5b58b7dfabb9e3f91fa3dd892d42639cc.
* Revert "SWDEV-563842 - Fix Memcpy Address Offset Bug"
This reverts commit 0b89072a988074aa4da4e8fc7ba04c554f31ed44.
* SWDEV-563842 - MemObjMap_ Offset Support
This patch fixes the buffer offset handling bug.
* Revert "SWDEV-563842 - MemObjMap_ Offset Support"
This reverts commit 37fce3382465e3420721e5277377f943ec2b30a1.
* SWDEV-563842 - External Memory Buffer View
2025-11-09 12:52:35 -08:00
Victor Zhang
7580052878
SWDEV-564318 - Add support for allocating uncached device memory ( #1670 )
2025-11-09 12:51:41 -05:00
Satyanvesh Dittakavi
478cee0f68
SWDEV-559525 - Add the HIP_POINTER_ATTRIBUTE_IS_LEGACY_HIP_IPC_CAPABLE attribute support ( #1647 )
...
* SWDEV-559525 - Add the HIP_POINTER_ATTRIBUTE_IS_LEGACY_HIP_IPC_CAPABLE attribute implementation
* Update indentation in hip_memory.cpp
2025-11-06 12:07:32 +05:30
Scott Todd
fdbafd7757
Revert "SWDEV-554372 - Add 3 HIP_GET_PROC_ADDRESS_xxx flags ( #1057 )" ( #1690 )
...
Reverts ROCm/rocm-systems#1057
Suspected of breaking the build, see https://github.com/ROCm/rocm-systems/pull/1057#issuecomment-3487715129
Logs: https://github.com/ROCm/rocm-systems/actions/runs/19062134668/job/54444052479#step:12:315
```
[rocprofiler-sdk] FAILED: source/lib/rocprofiler-sdk/CMakeFiles/rocprofiler-sdk-object-library.dir/hip/abi.cpp.o
[rocprofiler-sdk] ccache /opt/rh/gcc-toolset-12/root/usr/bin/c++ -DAMD_INTERNAL_BUILD=1 -DGLOG_USE_GLOG_EXPORT -DROCPROFILER_DL=1 -DROCPROFILER_HAS_GHC_LIB_FILESYSTEM=1 -DROCPROFILER_SDK_USE_SYSTEM_RCCL=0 -DROCPROFILER_SDK_USE_SYSTEM_ROCDECODE=0 -DROCPROFILER_SDK_USE_SYSTEM_ROCJPEG=0 -DUSE_PROF_API=1 -DYAML_CPP_STATIC_DEFINE -D__HIP_PLATFORM_AMD__=1 -Drocprofiler_EXPORTS=1 -I/__w/rocm-systems/rocm-systems/TheRock/build/profiler/rocprofiler-sdk/build/source/include -I/__w/rocm-systems/rocm-systems/projects/rocprofiler-sdk/source/include -I/__w/rocm-systems/rocm-systems/projects/rocprofiler-sdk/source -I/__w/rocm-systems/rocm-systems/projects/rocprofiler-sdk/external/yaml-cpp/include -I/__w/rocm-systems/rocm-systems/projects/rocprofiler-sdk/external/ptl/source -I/__w/rocm-systems/rocm-systems/TheRock/build/profiler/rocprofiler-sdk/build/external/ptl/source -isystem /__w/rocm-systems/rocm-systems/TheRock/build/core/clr/dist/include -isystem /__w/rocm-systems/rocm-systems/TheRock/build/core/ROCR-Runtime/dist/include -isystem /__w/rocm-systems/rocm-systems/projects/rocprofiler-sdk/external/filesystem/include -isystem /__w/rocm-systems/rocm-systems/TheRock/build/profiler/rocprofiler-sdk/build/external/glog -isystem /__w/rocm-systems/rocm-systems/projects/rocprofiler-sdk/external/glog/src -isystem /__w/rocm-systems/rocm-systems/projects/rocprofiler-sdk/external/fmt/include -isystem /__w/rocm-systems/rocm-systems/projects/rocprofiler-sdk/external/elfio -isystem /__w/rocm-systems/rocm-systems/TheRock/build/compiler/amd-comgr-stub/dist/include -isystem /__w/rocm-systems/rocm-systems/TheRock/build/third-party/sysdeps/linux/libdrm/build/stage/lib/rocm_sysdeps/lib/pkgconfig/../../include -isystem /__w/rocm-systems/rocm-systems/TheRock/build/third-party/sysdeps/linux/libdrm/build/stage/lib/rocm_sysdeps/lib/pkgconfig/../../include/libdrm -isystem /__w/rocm-systems/rocm-systems/TheRock/build/third-party/sysdeps/linux/elfutils/build/dist/lib/rocm_sysdeps/include -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -W -Wall -Wno-unknown-pragmas -faligned-new -rdynamic -fstack-protector-strong -Wstack-protector -MD -MT source/lib/rocprofiler-sdk/CMakeFiles/rocprofiler-sdk-object-library.dir/hip/abi.cpp.o -MF source/lib/rocprofiler-sdk/CMakeFiles/rocprofiler-sdk-object-library.dir/hip/abi.cpp.o.d -o source/lib/rocprofiler-sdk/CMakeFiles/rocprofiler-sdk-object-library.dir/hip/abi.cpp.o -c /__w/rocm-systems/rocm-systems/projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/hip/abi.cpp
[rocprofiler-sdk] In file included from /__w/rocm-systems/rocm-systems/projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/hip/abi.cpp:26:
[rocprofiler-sdk] /__w/rocm-systems/rocm-systems/projects/rocprofiler-sdk/source/lib/common/abi.hpp:62:27: error: static assertion failed: size of the API table struct has changed. Update the STEP_VERSION number (or in rare cases, the MAJOR_VERSION number)
[rocprofiler-sdk] 62 | sizeof(TABLE) == ::rocprofiler::common::abi::compute_table_offset(NUM), \
```
2025-11-04 14:29:58 -08:00
Todd tiantuo Li
7573fa168d
SWDEV-554372 - Add 3 HIP_GET_PROC_ADDRESS_xxx flags ( #1057 )
2025-11-04 00:16:12 -08:00
Satyanvesh Dittakavi
f332888366
SWDEV-560304 - Fix segfault with invalid stream ( #1360 )
2025-11-01 00:04:44 +05:30
Jaydeep
10763f0e7a
SWDEV-559505 - Enable back memset optimization and handle the cases when setParam can change the number of AQL packets for memset graph node. ( #1320 )
...
Co-authored-by: jaydeeppatel1111 <jaypatel@amd.com >
2025-10-31 22:49:14 +05:30
Ioannis Assiouras
1dd0237cb2
SWDEV-563752 - Allow hipMemLocationTypeHost in hipMemSetAccess even if memory was created on the device ( #1620 )
...
Co-authored-by: Rahul Manocha <rmanocha@amd.com >
2025-10-31 13:57:36 +00:00
dsicarov-amd
4915496bf9
SWDEV-533237 Add hipOccupancyAvailableDynamicSMemPerBlock API ( #899 )
...
* SWDEV-533237 Add initial support for hipOccupancyAvailableDynamicSMemPerBlock API
* SWDEV-533237 Add hipOccupancyAvailableDynamicSMemPerBlock wrapper for nvidia
* SWDEV-533237 Add implementation of hipOccupancyAvailableDynamicSMemPerBlock API
* SWDEV-533237 Add LDSAlignment field in Isa table
---------
Co-authored-by: Rahul Manocha <rmanocha@amd.com >
2025-10-29 10:58:42 +01:00
Ajay GunaShekar
f8e3858659
remove usage of HIP_RETURN in internal function ( #1359 )
2025-10-27 15:37:46 -07:00
Rahul Manocha
f5d901f016
SWDEV-546311 - implement hipKernelGetLibrary & hipLibraryEnumerateKer… ( #1143 )
...
* SWDEV-546311 - implement hipKernelGetLibrary & hipLibraryEnumerateKernels API
* Fix for LibraryEnumerateKernel and KernelGetName
* Update Enumerate Kernels to handle 0 numKernels
* Minor fixes to function names
* fix error checking in internal function
* Update changelog for new apis
---------
Co-authored-by: Rahul Manocha <rmanocha@amd.com >
2025-10-27 14:13:17 -07:00