P4 to Git Change 1464719 by gandryey@gera-w8 on 2017/09/28 17:50:10

SWDEV-79445 - OCL generic changes and code clean-up
	- Disable runtime destruction. C++ wrapper and compiler lib static objects can be destroyed in undesired order and cause a crash

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/runtime.cpp#38 edit


[ROCm/clr commit: 52ed085f34]
This commit is contained in:
foreman
2017-09-28 17:57:35 -04:00
parent 01894384bf
commit 0552a64b5d
@@ -80,7 +80,7 @@ void Runtime::tearDown() {
class RuntimeTearDown : public amd::HeapObject {
public:
RuntimeTearDown() {}
~RuntimeTearDown() { Runtime::tearDown(); }
~RuntimeTearDown() { /*Runtime::tearDown();*/ }
} runtime_tear_down;
uint ReferenceCountedObject::retain() { return ++make_atomic(referenceCount_); }