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 작성하고 GitHub가 2025-01-22 11:20:50 -06:00를 커밋함
1 부모 6bb60bf930
커밋 73e72bb088
1 파일이 변경됨
+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: