P4 to Git Change 1218185 by smekhano@stas-rampitec-hsa on 2015/12/07 11:46:59
SWDEV-83242 - RT: disable ADL reload in app detect
Reload is disabled in ADL with the change list 1198904 and ticket
SWDEV-59442 - The ADL_ApplicationProfiles_System_Reload Function is not Re-entrant.
Returned value of the call is ADL_ERR_NOT_SUPPORTED on Windows.
Thus appprofiles do not currently work with the OpenCL.
This change removes reload call result check and profiles work again.
Testing: smoke, precheckin, use of customized app profile
Reviewed by German Andreev
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#11 edit
[ROCm/clr commit: 86fe69e9ef]
Цей коміт міститься в:
@@ -78,10 +78,10 @@ bool ADL::init()
|
||||
}
|
||||
}
|
||||
|
||||
result = adl2ApplicationProfilesSystemReload(adlContext_);
|
||||
if (result != ADL_OK) {
|
||||
return false;
|
||||
}
|
||||
// Reload is disabled in ADL with the change list 1198904 and ticket
|
||||
// SWDEV-59442 - The ADL_ApplicationProfiles_System_Reload Function is not Re-entrant
|
||||
// Returned value is ADL_ERR_NOT_SUPPORTED on Windows.
|
||||
adl2ApplicationProfilesSystemReload(adlContext_);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Посилання в новій задачі
Заблокувати користувача