Add a threshold for forcing ROCr to take blit path
This workaround is to avoid performance penalty of SDMA engine
taking a while to clock up from a lower DPM state. Add env var
GPU_FORCE_BLIT_COPY_SIZE (1024 by default for HIP in KB). Forcing
Src and Dst agent to be amdgpu makes ROCr take blit copy path for
what otherwise should have been SDMA copy
Change-Id: I222f687155f86000d17d66d25182e490b6710463
[ROCm/clr commit: 5f64e6e7ad]
이 커밋은 다음에 포함됨:
1 부모
1cb198dba2
커밋
6b7c6748b1
5 파일이 변경됨
+32
-3
검색과 일치하는 파일 없음
@@ -486,6 +486,10 @@ Settings::Settings() : value_(0) {
|
||||
if (flagIsDefault(HIP_HIDDEN_FREE_MEM)) {
|
||||
HIP_HIDDEN_FREE_MEM = 320;
|
||||
}
|
||||
|
||||
if (flagIsDefault(GPU_FORCE_BLIT_COPY_SIZE)) {
|
||||
GPU_FORCE_BLIT_COPY_SIZE = 1024;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
새 이슈에서 참조
사용자 차단