SWDEV-506251 - Disable blit copy thresold for OpenCL
Change-Id: Id0ca43b13d5792791a42da263f6aa4496382cea6
[ROCm/clr commit: 39801b5750]
Cette révision appartient à :
1 Parent
b1ef5972d6
révision
d4594531ef
2 fichiers modifiés
+8
-3
Aucun fichier ne correspond à votre recherche
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur