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
This commit is contained in:
foreman
2017-09-28 17:57:35 -04:00
parent 2db432663c
commit 52ed085f34
+1 -1
View File
@@ -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_); }