SWDEV-506251 - Disable blit copy thresold for OpenCL
Change-Id: Id0ca43b13d5792791a42da263f6aa4496382cea6
[ROCm/clr commit: 39801b5750]
This commit is contained in:
1 parent
b1ef5972d6
commit
d4594531ef
2 files changed
+8
-3
No files matched your search
@@ -1092,9 +1092,14 @@ Settings::Settings() : value_(0) {
|
||||
waitCommand_ = AMD_OCL_WAIT_COMMAND;
|
||||
supportDepthsRGB_ = false;
|
||||
fenceScopeAgent_ = AMD_OPT_FLUSH;
|
||||
if (amd::IS_HIP) {
|
||||
|
||||
// Amend certain flags for OpenCL
|
||||
if (!amd::IS_HIP) {
|
||||
if (flagIsDefault(GPU_SINGLE_ALLOC_PERCENT)) {
|
||||
GPU_SINGLE_ALLOC_PERCENT = 100;
|
||||
GPU_SINGLE_ALLOC_PERCENT = 85;
|
||||
}
|
||||
if (flagIsDefault(GPU_FORCE_BLIT_COPY_SIZE)) {
|
||||
GPU_FORCE_BLIT_COPY_SIZE = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user