Enable prefetch async functionality
Fix a typo with the name define, when compilation wasn't enabled.
Force CPU prefetch if system was forced in runtime
Change-Id: Id4b578f9fa44a45426fdb5d8ecb1da803aa42313
[ROCm/clr commit: 6e69258b69]
这个提交包含在:
1 父节点
3315ef8a45
当前提交
a5ca15a599
3 个文件已更改
+14
-11
没有与搜索条件相匹配的文件
@@ -2007,7 +2007,7 @@ bool Device::GetSvmAttributes(void** data, size_t* data_sizes, int* attributes,
|
||||
#if AMD_HMM_SUPPORT
|
||||
std::vector<hsa_amd_svm_attribute_pair_t> attr;
|
||||
|
||||
for (int i = 0; i < num_attributes; ++i) {
|
||||
for (size_t i = 0; i < num_attributes; ++i) {
|
||||
switch (attributes[i]) {
|
||||
case amd::MemRangeAttribute::ReadMostly:
|
||||
attr.push_back({HSA_AMD_SVM_ATTRIB_READ_ONLY, 0});
|
||||
|
||||
在新工单中引用
屏蔽一个用户