From 961443a8cd7180fe95c77eb4671525001b40dcec Mon Sep 17 00:00:00 2001 From: foreman Date: Sat, 8 Oct 2016 15:34:50 -0400 Subject: [PATCH] P4 to Git Change 1324274 by lmoriche@lmoriche_opencl_dev on 2016/10/08 15:25:08 SWDEV-103782 - [ROCm CQE][OCLonLC][Hawaii][ISV] Mixbench is giving "Unsupported requested OpenCL C version (-cl-std)" - Add cl-std=CL1.0 and cl-std=CL1.1 support (maps to cl-std=CL1.2). Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#24 edit --- rocclr/runtime/device/rocm/roccompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/runtime/device/rocm/roccompiler.cpp b/rocclr/runtime/device/rocm/roccompiler.cpp index babf1204cd..87ab556a24 100644 --- a/rocclr/runtime/device/rocm/roccompiler.cpp +++ b/rocclr/runtime/device/rocm/roccompiler.cpp @@ -178,7 +178,7 @@ HSAILProgram::compileImpl_LC( std::pair hdr; switch(clcStd) { - case 120: + case 100: case 110: case 120: hdr = std::make_pair(opencl1_2_c_amdgcn, opencl1_2_c_amdgcn_size); break; case 200: