P4 to Git Change 1128337 by rili@rili_opencl_stg on 2015/03/06 14:37:45
EPR #415638 - Improve APU performance
- Force remote allocation of local and persistent memory to Remote from RemoteUSWC:
- Use gpu copy for remote/pinned image/buffer.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#114 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#211 edit
[ROCm/clr commit: 637492a7dd]
이 커밋은 다음에 포함됨:
1 부모
515b919097
커밋
ad33680b30
2 파일이 변경됨
+7
-1
검색과 일치하는 파일 없음
@@ -386,7 +386,12 @@ Resource::create(MemoryType memType, CreateParams* params, bool heap)
|
||||
if (dev().settings().remoteAlloc_ && !heap &&
|
||||
((memoryType() == Local) ||
|
||||
(memoryType() == Persistent))) {
|
||||
cal_.type_ = RemoteUSWC;
|
||||
if (dev().settings().apuSystem_ && dev().settings().viPlus_) {
|
||||
cal_.type_ = Remote;
|
||||
}
|
||||
else {
|
||||
cal_.type_ = RemoteUSWC;
|
||||
}
|
||||
}
|
||||
|
||||
if (dev().settings().disablePersistent_ && (memoryType() == Persistent)) {
|
||||
|
||||
새 이슈에서 참조
사용자 차단