From 9abb2e5d3180d5cab137ade1be412155ec3263cc Mon Sep 17 00:00:00 2001 From: foreman Date: Tue, 23 Sep 2014 16:25:16 -0400 Subject: [PATCH] P4 to Git Change 1080047 by chui@chui_cnchuiw7 on 2014/09/23 16:11:20 EPR #399601 - Back out changelist 1076725 to have CZ NOT report as 2.0 device. To be cherry picked to mainline and then unback out afterwards. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#284 edit [ROCm/clr commit: 7d55aee58a790d17fceb084c71719d295428147d] --- projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp b/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp index 13fd12f1d9..83433cf418 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp @@ -303,6 +303,9 @@ Settings::create( if (hsail_ || (OPENCL_VERSION < 200)) { oclVersion_ = OpenCL12; } + if (target == CAL_TARGET_CARRIZO) { + oclVersion_ = OpenCL12; + } numComputeRings_ = 8; } else {