From c4870fb0d4fb6af6658fac72f8a9bd2398df6b63 Mon Sep 17 00:00:00 2001 From: foreman Date: Thu, 7 Jan 2016 09:24:54 -0500 Subject: [PATCH] P4 to Git Change 1225579 by weizhang@msdnweizhang-opencl on 2016/01/07 09:15:40 SWDEV-80364 - [Project Brahma] Disable OCL2.0 Disable OCL2.0 on Brahma because base driver doesn't have enough resource to support it. Note: the implementation for OCL2.0 on Brahma in OCL runtime has been done. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#251 edit [ROCm/clr commit: 8a320baf8c15c2543969a7daba1a619090cc172a] --- projects/clr/rocclr/runtime/utils/flags.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/rocclr/runtime/utils/flags.hpp b/projects/clr/rocclr/runtime/utils/flags.hpp index 1bb00d6956..ac59281f39 100644 --- a/projects/clr/rocclr/runtime/utils/flags.hpp +++ b/projects/clr/rocclr/runtime/utils/flags.hpp @@ -147,7 +147,7 @@ release(bool, GPU_ENABLE_LARGE_ALLOCATION, true, \ "Enable >4GB single allocations") \ release(bool, AMD_THREAD_TRACE_ENABLE, true, \ "Enable thread trace extension") \ -release(uint, OPENCL_VERSION, 200, \ +release(uint, OPENCL_VERSION, (IS_BRAHMA ? 120 : 200), \ "Force GPU opencl verison") \ release(uint, CPU_OPENCL_VERSION, 120, \ "Force CPU opencl verison") \