OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[GPU] Fix Correct return type in DECLARE_LOWER/UPPER_BOUND macros (#35406)
hyunback kim1815ca416ec1
diff --git a/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/include/algorithm.cl b/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/include/algorithm.clindex 909ccbcc05b..e7e101a372b 100644--- a/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/include/algorithm.cl+++ b/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/include/algorithm.cl@@ -3,7 +3,7 @@//#define DECLARE_LOWER_BOUND(Name, Type, ValType, GetIndex) \- inline Type* FUNC(Name)(const Type* data, uint first_index, uint last_index, ValType value) { \+ inline uint FUNC(Name)(const Type* data, uint first_index, uint last_index, ValType value) { \uint count = last_index - first_index; \while (count > 0) { \const uint step = count / 2; \@@ -19,7 +19,7 @@}#define DECLARE_UPPER_BOUND(Name, Type, ValType, GetIndex) \- inline Type* FUNC(Name)(const Type* data, uint first_index, uint last_index, ValType value) { \+ inline uint FUNC(Name)(const Type* data, uint first_index, uint last_index, ValType value) { \uint count = last_index - first_index; \while (count > 0) { \const uint step = count / 2; \