P4 to Git Change 1333973 by rili@rili-opencl-pal-stg on 2016/10/31 10:41:30
SWDEV-95903 - Implement SVM on PAL feature. 1. Implement SVM Coarse Grain 2. Implement SVM Fine Grain Buffer Review:http://ocltc.amd.com/reviews/r/11706/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#30 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#17 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#8 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#8 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#36 edit ... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#259 edit
This commit is contained in:
@@ -3192,8 +3192,7 @@ VirtualGPU::processMemObjectsHSA(
|
||||
svmMem = amd::SvmManager::FindSvmBuffer(
|
||||
*reinterpret_cast<void* const*>(params + desc.offset_));
|
||||
if (!svmMem) {
|
||||
Unimplemented();
|
||||
//flushCUCaches();
|
||||
flushCUCaches();
|
||||
// Clear memory dependency state
|
||||
const static bool All = true;
|
||||
memoryDependency().clear(!All);
|
||||
|
||||
Reference in New Issue
Block a user