P4 to Git Change 1120702 by skudchad@skudchad_test_win_opencl2 on 2015/02/10 15:02:35
EPR #403782 - IOMMU2/SVM
Basic changes to enable finegrainsystem.
- OpenCL runtime changes for enabling Fine Grain System on Carrizo
- Check for SVMPointer while unmap, if so skip unmap
ReviewBoardURL = http://ocltc.amd.com/reviews/r/6844/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#494 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#350 edit
[ROCm/clr commit: 546ce7ec2d]
Bu işleme şunda yer alıyor:
@@ -1187,7 +1187,7 @@ VirtualGPU::submitUnmapMemory(amd::UnmapMemoryCommand& vcmd)
|
||||
|
||||
// We used host memory
|
||||
if ((owner->getHostMem() != NULL) && memory->isDirectMap()) {
|
||||
if (memory->isUnmapWrite()) {
|
||||
if (memory->isUnmapWrite() && !owner->usesSvmPointer()) {
|
||||
// Target is the backing store, so sync
|
||||
owner->signalWrite(NULL);
|
||||
memory->syncCacheFromHost(*this);
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle