P4 to Git Change 1464629 by gandryey@gera-w8 on 2017/09/28 15:29:20
SWDEV-79445 - OCL generic changes and code clean-up - Add RuntimeTearDown class for device destruction on exit. Fixes an assert in PAL under Linux. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/platform/runtime.cpp#36 edit
Šī revīzija ir iekļauta:
@@ -85,8 +85,15 @@ void Runtime::tearDown() {
|
||||
Device::tearDown();
|
||||
option::teardown();
|
||||
Flag::tearDown();
|
||||
initialized_ = false;
|
||||
}
|
||||
|
||||
class RuntimeTearDown : public amd::HeapObject {
|
||||
public:
|
||||
RuntimeTearDown() {}
|
||||
~RuntimeTearDown() { Runtime::tearDown(); }
|
||||
} runtime_tear_down;
|
||||
|
||||
uint ReferenceCountedObject::retain() { return ++make_atomic(referenceCount_); }
|
||||
|
||||
uint ReferenceCountedObject::release() {
|
||||
|
||||
Atsaukties uz šo jaunā problēmā
Block a user