P4 to Git Change 1464639 by gandryey@gera-w8 on 2017/09/28 15:45:07

SWDEV-79445 - OCL generic changes and code clean-up
	- Remove ENABLE_CAL_SHUTDOWN variable

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/runtime.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#281 edit
This commit is contained in:
foreman
2017-09-28 16:03:49 -04:00
parent 7692407897
commit af2ba1c7b7
2 changed files with 0 additions and 16 deletions
-14
View File
@@ -29,17 +29,6 @@
namespace amd {
#ifdef __linux__
static void __runtime_exit() __attribute__((destructor(102)));
static void __runtime_exit() {
if (ENABLE_CAL_SHUTDOWN) {
Runtime::tearDown();
}
}
#endif
volatile bool Runtime::initialized_ = false;
bool Runtime::init() {
@@ -129,9 +118,6 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved) {
#endif // DEBUG
break;
case DLL_PROCESS_DETACH:
if (!reserved || ENABLE_CAL_SHUTDOWN) {
Runtime::tearDown();
}
break;
case DLL_THREAD_DETACH: {
amd::Thread* thread = amd::Thread::current();