Add note for setting the HSA_SCRATCH_SINGLE_LIMIT (#1391)

This commit is contained in:
randyh62
2025-10-19 17:38:06 -07:00
committed by GitHub
parent ffb380a710
commit fd5ad25615
@@ -27,6 +27,8 @@
* - | ``HSA_SCRATCH_SINGLE_LIMIT``
| Specifies the threshold for the amount of scratch memory allocated and reclaimed in kernel dispatches.
| Enabling ``HSA_NO_SCRATCH_RECLAIM`` circumvents ``HSA_SCRATCH_SINGLE_LIMIT``, and treats ``HSA_SCRATCH_SINGLE_LIMIT`` as the maximum value.
|
| **NOTE:** In the 7.0 release the developer can use the HIP enumerator ``hipExtLimitScratchCurrent`` to programmatically change the default scratch memory allocation size. For more information, see `Global enums and defines <https://rocm.docs.amd.com/projects/HIP/en/latest/reference/hip_runtime_api/global_defines_enums_structs_files/global_enum_and_defines.html>`_.
- ``146800640``
- 0 to 4GB per XCC