Add hipdbPrintMem - wrapper for hcc memory tracker.

[ROCm/clr commit: 18660be8ce]
Tento commit je obsažen v:
Ben Sander
2017-07-03 15:05:30 -05:00
rodič b52c040bd5
revize 57733404c1
3 změnil soubory, kde provedl 35 přidání a 0 odebrání
+22
Zobrazit soubor
@@ -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
/**
* @}
*/