kfdtest: Using non-paged memory allocation only on devices that have MES scheduler

Change-Id: I9181b353aac791f546aa7679ffd7cb8d9f8ef765
This commit is contained in:
Yifan Zhang
2023-02-23 14:08:21 +08:00
parent 564913526a
commit e40ae8481e
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ class HsaMemoryBuffer {
public:
HsaMemoryBuffer(HSAuint64 size, unsigned int node, bool zero = true, bool isLocal = false,
bool isExec = false, bool isScratch = false, bool isReadOnly = false, bool isUncached = false);
bool isExec = false, bool isScratch = false, bool isReadOnly = false, bool isUncached = false, bool NonPaged = false);
HsaMemoryBuffer(void *addr, HSAuint64 size);
template<typename RetType>
RetType As() {