P4 to Git Change 1377864 by todli@todli-win-opencl-kv1 on 2017/02/24 16:10:12
SWDEV-107271 - For APU system, when allocating USWC with enough USWC reported and the allocation fails, we should return false instead of looping forever. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#12 edit
이 커밋은 다음에 포함됨:
1 부모
33fde89442
커밋
dff4d3c84a
1 파일이 변경됨
+1
-1
@@ -153,7 +153,7 @@ Memory::create(
|
||||
memType = RemoteUSWC;
|
||||
}
|
||||
else if (dev().settings().apuSystem_ && memoryType() == RemoteUSWC) {
|
||||
if (size() > (freeMemory[0] * Ki)) {
|
||||
if (size() > (freeMemory[0] * Ki) || allocAttempt >= 2) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
새 이슈에서 참조
사용자 차단