kfdtest: add suspend and resume queues operation
Add base debug operations to suspend and resume queues. Routine will return the number of queues successfully suspended or resumed. Signed-off-by: Jonathan Kim <jonathan.kim@amd.com> Change-Id: I8f18317f70464b04231c5cf822e11d545ebfa02a
This commit is contained in:
committed by
Jonathan Kim
parent
b77189cf83
commit
5a675921ea
@@ -45,6 +45,9 @@ class BaseDebug {
|
||||
uint32_t *gpuId, uint32_t *queueId,
|
||||
int timeoutMsec);
|
||||
void SetExceptionsEnabled(uint64_t exceptions);
|
||||
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);
|
||||
|
||||
private:
|
||||
unsigned int m_Pid;
|
||||
|
||||
Reference in New Issue
Block a user