Add hipdbPrintMem - wrapper for hcc memory tracker.

[ROCm/hip commit: 0459f3db72]
This commit is contained in:
Ben Sander committed 2017-07-03 15:05:30 -05:00
1 förälder ac6d9e6c5c
incheckning 042ed2c38f
3 files changed
+35

No files matched your search

@@ -0,0 +1,22 @@
/**
* @defgroup HipDb HCC-specific debug facilities
* @{
*/
/**
* @brief * Print memory tracker information for this pointer.
*
* HIP maintains a table for all memory allocations performed by the application.
* If targetAddress is 0, the entire table is printed to stderr.
* If targetAddress is non-null, this routine will perform some forensic analysis
* to find the pointer
*/
void hipdbPrintMem(void *targetAddress);
// doxygen end HipDb
/**
* @}
*/