P4 to Git Change 1455212 by gandryey@gera-w8 on 2017/09/05 11:23:03

SWDEV-131311 - [CQE OCL][DTB][DTB-BLOCKER][Perf][QR][VEGA] BasemarkCL test are not completing due to faulty CL#1451293
	- After a view destruction the original object is no longer can be associated with a vgpu

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#33 edit


[ROCm/clr commit: ab82101b73]
Tento commit je obsažen v:
foreman
2017-09-05 11:35:35 -04:00
rodič 5be03e7125
revize 76f0d2051f
+3
Zobrazit soubor
@@ -1101,6 +1101,9 @@ void Resource::free() {
amd::ScopedLock l(memRef_->gpu_->execution());
memRef_->gpu_->waitForEvent(&memRef_->events_[memRef_->gpu_->index()]);
}
} else {
// After a view destruction the original object is no longer can be associated with a vgpu
memRef_->gpu_ = nullptr;
}
if (renames_.size() == 0) {