libhsakmt: add debug trap thunk call for testing
Add generic thunk call for debug testing that assumes caller populations trap arguments correctly. Signed-off-by: Jonathan Kim <jonathan.kim@amd.com> Change-Id: I33a0bc66ca77e29f5b663d4bfe73f8684df8bfb6
此提交包含在:
1 父節點
98c6784cc1
當前提交
aaab019960
3 file changed
+44
-1
No files matched your search
+8
-1
@@ -774,6 +774,14 @@ hsaKmtDbgGetQueueData(
|
||||
bool suspend_queues //In
|
||||
);
|
||||
|
||||
/**
|
||||
Debug ops call primarily used for KFD testing
|
||||
*/
|
||||
HSAKMT_STATUS HSAKMTAPI hsaKmtDebugTrapIoctl(
|
||||
struct kfd_ioctl_dbg_trap_args *arg,
|
||||
HSA_QUEUEID *Queues
|
||||
);
|
||||
|
||||
/**
|
||||
Gets GPU and CPU clock counters for particular Node
|
||||
*/
|
||||
@@ -1031,4 +1039,3 @@ hsaKmtReturnAsanHeaderPage(
|
||||
#endif
|
||||
|
||||
#endif //_HSAKMT_H_
|
||||
|
||||
Reference in new issue
封鎖使用者