[Pure CL] Fix typo (USE_CL_ARITHMETIC_ADDTION) (#1480)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Thu, 31 May 2018 07:56:03 +0000 (16:56 +0900)
committer서상민/동작제어Lab(SR)/Staff Engineer/삼성전자 <sangmin7.seo@samsung.com>
Thu, 31 May 2018 07:56:03 +0000 (16:56 +0900)
This commit fixes type in environment variable name:
(USE_CL_ARITHMETIC_ADDTION -> USE_CL_ARITHMETIC_ADDITION)

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
runtimes/pure_arm_compute/src/compilation.cc

index 87fcac1..46846ce 100644 (file)
@@ -328,7 +328,7 @@ void Planner::visit(const ::internal::tflite::op::Add::Node &node)
 
     // NOTE CLArithmeticAddition emits incorrect values for ADAS model.
     // TODO Figure out why this happens, and fix it
-    if (from_env<bool>(std::getenv("USE_CL_ARITHMETIC_ADDTION")))
+    if (from_env<bool>(std::getenv("USE_CL_ARITHMETIC_ADDITION")))
     {
       auto l = make_layer<::arm_compute::CLArithmeticAddition>();