From 252e1de74731129fac7f2d9cbfbc237d7fb161ad Mon Sep 17 00:00:00 2001 From: foreman Date: Mon, 9 Feb 2015 19:53:58 -0500 Subject: [PATCH] P4 to Git Change 1120307 by skudchad@skudchad_test_win_opencl2 on 2015/02/09 19:44:04 EPR #403782 - IOMMU2/SVM - Reset desc.isAllocExecute so that it doesnt have random values Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#207 edit --- rocclr/runtime/device/gpu/gpuresource.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rocclr/runtime/device/gpu/gpuresource.cpp b/rocclr/runtime/device/gpu/gpuresource.cpp index a1e5db9988..316ea582aa 100644 --- a/rocclr/runtime/device/gpu/gpuresource.cpp +++ b/rocclr/runtime/device/gpu/gpuresource.cpp @@ -345,6 +345,7 @@ Resource::create(MemoryType memType, CreateParams* params, bool heap) desc.vaBase = 0; desc.minAlignment = 0; + desc.isAllocExecute = false; desc.section = GSL_SECTION_REGULAR; if (NULL != params && NULL != params->owner_) { //make sure params not NULL mcaddr svmPtr = reinterpret_cast(params->owner_->getSvmPtr());