P4 to Git Change 1738443 by gandryey@gera-w8 on 2019/01/31 14:38:27
SWDEV-79445 - OCL generic changes and code clean-up - Clean-up suppressing message box logic Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#602 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#124 edit ... //depot/stg/opencl/drivers/opencl/runtime/platform/runtime.cpp#39 edit
This commit is contained in:
@@ -111,7 +111,7 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved) {
|
||||
switch (reason) {
|
||||
case DLL_PROCESS_ATTACH:
|
||||
#ifdef DEBUG
|
||||
if (!AMD_OCL_ENABLE_MESSAGE_BOX) {
|
||||
if (!::getenv("AMD_OCL_ENABLE_MESSAGE_BOX")) {
|
||||
_CrtSetReportHook(reportHook);
|
||||
_set_error_mode(_OUT_TO_STDERR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user