P4 to Git Change 1969076 by jatang@jatang_win_pal_lc on 2019/07/17 12:10:15

SWDEV-174198 - Back out changelist 1968648.

	Since it causes soft-hang in multiple_device_context test.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#79 edit


[ROCm/clr commit: 5781701a9c]
This commit is contained in:
foreman
2019-07-17 12:13:34 -04:00
orang tua 6475ecdbf5
melakukan 2cfb7d6fdd
@@ -605,9 +605,6 @@ VirtualGPU::~VirtualGPU() {
virtualQueue_->release();
}
// Lock the device to make the following thread safe
amd::ScopedLock lock(roc_device_.vgpusAccess());
--roc_device_.numOfVgpus_; // Virtual gpu unique index decrementing
roc_device_.vgpus_.erase(roc_device_.vgpus_.begin() + index());
for (uint idx = index(); idx < roc_device_.vgpus().size(); ++idx) {