P4 to Git Change 1112144 by gandryey@gera-dev-w7 on 2015/01/15 17:50:43
ECR #304775 - Move GPU wait outside of the device lock operation for staging buffers
- Wait can occur per queue independently
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#491 edit
[ROCm/clr commit: 8aafdbd80d]
Dieser Commit ist enthalten in:
@@ -357,11 +357,11 @@ Device::XferBuffers::acquire()
|
||||
void
|
||||
Device::XferBuffers::release(VirtualGPU& gpu, Resource& buffer)
|
||||
{
|
||||
// Lock the operations with the staged buffer list
|
||||
amd::ScopedLock l(lock_);
|
||||
// Make sure buffer isn't busy on the current VirtualGPU, because
|
||||
// the next aquire can come from different queue
|
||||
buffer.wait(gpu);
|
||||
// Lock the operations with the staged buffer list
|
||||
amd::ScopedLock l(lock_);
|
||||
freeBuffers_.push_back(&buffer);
|
||||
--acquiredCnt_;
|
||||
}
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren