P4 to Git Change 1410625 by gandryey@gera-w8 on 2017/05/17 11:20:57
SWDEV-79445 - OCL generic changes and code clean-up
Remove unused wait() call
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#20 edit
[ROCm/clr commit: c84fa0811c]
This commit is contained in:
@@ -380,10 +380,6 @@ void Memory::syncCacheFromHost(VirtualGPU& gpu, device::Memory::SyncFlags syncFl
|
||||
}
|
||||
}
|
||||
|
||||
//!@todo A wait isn't really necessary. However processMemObjects()
|
||||
// may lose the track of dependencies with a compute transfer(if sdma failed).
|
||||
wait(gpu);
|
||||
|
||||
// Should never fail
|
||||
assert(result && "Memory synchronization failed!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user