Merge gfx90a into amd-staging
Conflicts:
CMakeLists.txt
include/hsakmt.h
src/libhsakmt.h
src/libhsakmt.ver
src/queues.c
src/topology.c
tests/kfdtest/src/KFDMemoryTest.cpp
tests/kfdtest/src/KFDTestUtil.hpp
Signed-off-by: Kent Russell <kent.russell@amd.com>
Change-Id: Ic2732e7c0b5e42c1a3a91223f65a65064b602181
[ROCm/ROCR-Runtime commit: 83d80074f7]
이 커밋은 다음에 포함됨:
@@ -844,6 +844,16 @@ hsaKmtGetQueueSnapshot(
|
||||
HSAuint32 *QssEntries // IN/OUT
|
||||
);
|
||||
|
||||
/**
|
||||
Send the host trap
|
||||
*/
|
||||
HSAKMT_STATUS
|
||||
HSAKMTAPI
|
||||
hsaKmtSendHostTrap(
|
||||
HSAuint32 NodeId, //IN
|
||||
HSAuint32 Pid //IN
|
||||
);
|
||||
|
||||
/**
|
||||
Set the trap override mask. When debug trap is enabled by
|
||||
hsaKmtEnableDebugTrap() each wave launched has its initial
|
||||
@@ -1244,6 +1254,37 @@ hsaKmtSPMSetDestBuffer(
|
||||
bool *isSPMDataLoss //OUT
|
||||
);
|
||||
|
||||
/* Helper functions for calling KFD SVM ioctl */
|
||||
HSAKMT_STATUS
|
||||
HSAKMTAPI
|
||||
hsaKmtSVMSetAttr(
|
||||
void *start_addr, // IN: Start of the virtual address range (page-aligned)
|
||||
HSAuint64 size, // IN: size (page-aligned)
|
||||
unsigned int nattr, // IN: number of attributes
|
||||
HSA_SVM_ATTRIBUTE *attrs // IN: array of attributes
|
||||
);
|
||||
|
||||
HSAKMT_STATUS
|
||||
HSAKMTAPI
|
||||
hsaKmtSVMGetAttr(
|
||||
void *start_addr, // IN: Start of the virtual address range (page-aligned)
|
||||
HSAuint64 size, // IN: size (page aligned)
|
||||
unsigned int nattr, // IN: number of attributes
|
||||
HSA_SVM_ATTRIBUTE *attrs // IN/OUT: array of attributes
|
||||
);
|
||||
|
||||
HSAKMT_STATUS
|
||||
HSAKMTAPI
|
||||
hsaKmtSetXNACKMode(
|
||||
HSAint32 enable // IN: enable/disable XNACK node.
|
||||
);
|
||||
|
||||
HSAKMT_STATUS
|
||||
HSAKMTAPI
|
||||
hsaKmtGetXNACKMode(
|
||||
HSAint32 * enable // OUT: returns XNACK value.
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} //extern "C"
|
||||
#endif
|
||||
|
||||
새 이슈에서 참조
사용자 차단