From 43195c969733d94a7704666179cd93f3b28ddc17 Mon Sep 17 00:00:00 2001 From: Kamil Kopryk Date: Tue, 25 May 2021 15:55:07 +0000 Subject: [PATCH] Simplify code Signed-off-by: Kamil Kopryk --- opencl/source/built_ins/vme_builtin.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/opencl/source/built_ins/vme_builtin.cpp b/opencl/source/built_ins/vme_builtin.cpp index ab3d90600f..03991a025e 100644 --- a/opencl/source/built_ins/vme_builtin.cpp +++ b/opencl/source/built_ins/vme_builtin.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 Intel Corporation + * Copyright (C) 2020-2021 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -31,10 +31,9 @@ static const char *blockAdvancedMotionEstimateBidirectionalCheckIntelSrc = { }; static const std::tuple mediaBuiltIns[] = { - std::make_tuple("block_motion_estimate_intel", blockMotionEstimateIntelSrc), - std::make_tuple("block_advanced_motion_estimate_check_intel", blockAdvancedMotionEstimateCheckIntelSrc), - std::make_tuple("block_advanced_motion_estimate_bidirectional_check_intel", blockAdvancedMotionEstimateBidirectionalCheckIntelSrc), -}; + {"block_motion_estimate_intel", blockMotionEstimateIntelSrc}, + {"block_advanced_motion_estimate_check_intel", blockAdvancedMotionEstimateCheckIntelSrc}, + {"block_advanced_motion_estimate_bidirectional_check_intel", blockAdvancedMotionEstimateBidirectionalCheckIntelSrc}}; // Unlike other built-ins media kernels are not stored in BuiltIns object. // Pointer to program with built in kernels is returned to the user through API @@ -120,4 +119,4 @@ BuiltinDispatchInfoBuilder &Vme::getBuiltinDispatchInfoBuilder(EBuiltInOps::Type } return *operationBuilder.first; } -} // namespace NEO \ No newline at end of file +} // namespace NEO