From f7f64501a51eac8de749a4d539b9bc7a12aaf04d Mon Sep 17 00:00:00 2001 From: Giorgio Arena Date: Wed, 30 Jun 2021 14:26:40 +0100 Subject: Adjust minimum DDK version for manual unroll Resolve COMPMID-4602 Signed-off-by: Giorgio Arena Change-Id: I4727586711a0dbdc859b043cfd55d0335f1c8eb0 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5888 Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- src/core/CL/CLCompileContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/CL/CLCompileContext.cpp b/src/core/CL/CLCompileContext.cpp index 3f2975dc15..c9dd13e25c 100644 --- a/src/core/CL/CLCompileContext.cpp +++ b/src/core/CL/CLCompileContext.cpp @@ -271,7 +271,7 @@ std::string CLCompileContext::generate_build_options(const StringSet &build_opti const std::regex ddk_regex("r([0-9]*)p[0-9]"); std::smatch ddk_match; - if(std::regex_search(device_vers, ddk_match, ddk_regex) && std::stoi(ddk_match[1]) >= 9) + if(std::regex_search(device_vers, ddk_match, ddk_regex) && std::stoi(ddk_match[1]) >= 11) { concat_str += " -DUNROLL_WITH_PRAGMA "; } -- cgit v1.2.1