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:
foreman
2019-01-31 15:46:34 -05:00
parent 9090da11ef
commit 48b5ff4600
3 changed files with 1 additions and 28 deletions
-10
View File
@@ -1213,16 +1213,6 @@ static void parseRequestedDeviceList(const char* requestedDeviceList,
}
}
#if defined(_WIN32) && defined(DEBUG)
#include <cstdio>
#include <crtdbg.h>
static int reportHook(int reportType, char* message, int* returnValue) {
fprintf(stderr, "%s", message);
::exit(3);
return 1;
}
#endif // _WIN32 & DEBUG
bool Device::init() {
uint32_t numDevices = 0;
bool useDeviceList = false;