Revert "libhsakmt: add API to support svm and xnack"
This reverts commit a352639df5.
SVM is not ready yet. This was merged by accident.
Change-Id: I1bee102823e7e612be8e8f2e0f50580e8692cc80
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
This commit is contained in:
@@ -1254,37 +1254,6 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user