kfdtest: add snapshot operations

Add queue and devices snapshot operations.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Change-Id: I836884c9f3b65dd9e5e444d554d3eb87938e1634


[ROCm/ROCR-Runtime commit: b0e84183c1]
This commit is contained in:
Jonathan Kim authored and Jonathan Kim committed 2023-08-09 09:26:29 -04:00
1 parent c279ff343f
commit f404315977
2 files changed
+50

No files matched your search

@@ -48,6 +48,10 @@ class BaseDebug {
HSAKMT_STATUS SuspendQueues(unsigned int *numQueues, HSA_QUEUEID *queues, uint32_t *queueIds,
uint64_t exceptionsToClear);
HSAKMT_STATUS ResumeQueues(unsigned int *numQueues, HSA_QUEUEID *queues, uint32_t *queueIds);
HSAKMT_STATUS QueueSnapshot(uint64_t exceptionsToClear, uint64_t snapshotBufAddr,
uint32_t *numSnapshots);
HSAKMT_STATUS DeviceSnapshot(uint64_t exceptionsToClear, uint64_t snapshotBuffAddr,
uint32_t *numSnapshots);
private:
unsigned int m_Pid;