Add hipdbPrintMem - wrapper for hcc memory tracker.

This commit is contained in:
Ben Sander
2017-07-03 15:05:30 -05:00
parent 40d0a203f8
commit 0459f3db72
3 changed files with 35 additions and 0 deletions
+22
View File
@@ -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
/**
* @}
*/