Documentation Update to reflect that memory allocation trace records null pointers for free operations (#127)

Update documentation to reflect that nullpointers can be recorded in free memory operations
此提交包含在:
Trowbridge, Ian authored and GitHub committed 2025-01-22 11:20:50 -06:00
1 父節點 6bb60bf930
當前提交 73e72bb088
1 file changed
+4 -1
+4 -1
查看文件
@@ -533,7 +533,10 @@ In addition to the HSA memory allocation functions listed above, the correspondi
free functions ``hsa_memory_free``, ``hsa_amd_memory_pool_free``, and ``hsa_amd_vmem_handle_release``
are also tracked. Unlike the allocation functions, however, only the address of the freed memory
is recorded. As such, the agent id and size of the freed memory are recorded as 0 in the CSV and
JSON outputs.
JSON outputs. It should be noted that it is possible for some free functions to records a null
pointer address of 0x0. This situation can occur when some HIP functions such as hipStreamDestroy
call underlying HSA free functions with null pointers, even if the user never explicitly calls
free memory functions with null pointer addresses.
To trace memory allocations during the application run, use: