aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/CLKernelLibrary.cpp
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2017-07-03 17:39:37 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-09-17 14:15:39 +0100
commitac69aa137e360340fe9f148f019d93af6c3d8336 (patch)
tree88c2fb6ea8693c69b19d3b7b38fe26cd916303c8 /src/core/CL/CLKernelLibrary.cpp
parent05da6dd102c988081c7d5eccb227f559f740ceef (diff)
downloadComputeLibrary-ac69aa137e360340fe9f148f019d93af6c3d8336.tar.gz
COMPMID-418 Add check and fix comments after preprocessor conditions
Change-Id: I1353fd652ee180e3931e58b4ce13d651a48c7e2c Reviewed-on: http://mpd-gerrit.cambridge.arm.com/79567 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com>
Diffstat (limited to 'src/core/CL/CLKernelLibrary.cpp')
-rw-r--r--src/core/CL/CLKernelLibrary.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/CL/CLKernelLibrary.cpp b/src/core/CL/CLKernelLibrary.cpp
index 4a92bac23c..dd3531e858 100644
--- a/src/core/CL/CLKernelLibrary.cpp
+++ b/src/core/CL/CLKernelLibrary.cpp
@@ -487,7 +487,7 @@ const std::map<std::string, std::string> CLKernelLibrary::_program_source_map =
"warp_perspective.cl",
#include "./cl_kernels/warp_perspective.clembed"
},
-#endif
+#endif /* EMBEDDED_KERNELS */
};
CLKernelLibrary::CLKernelLibrary()
@@ -560,7 +560,7 @@ const Program &CLKernelLibrary::load_program(const std::string &program_name) co
}
program = Program(_context, program_name, program_source_it->second);
-#else
+#else /* EMBEDDED_KERNELS */
// Check for binary
std::string source_name = _kernel_path + program_name;
std::string binary_name = source_name + "bin";
@@ -578,7 +578,7 @@ const Program &CLKernelLibrary::load_program(const std::string &program_name) co
{
ARM_COMPUTE_ERROR("Kernel file %s does not exist.", source_name.c_str());
}
-#endif
+#endif /* EMBEDDED_KERNELS */
// Insert program to program map
const auto new_program = _programs_map.emplace(program_name, std::move(program));