Remove unnecessary CAST_CL from pure_arm_compute (#2617)
author장지섭/동작제어Lab(SR)/Engineer/삼성전자 <jiseob.jang@samsung.com>
Thu, 6 Sep 2018 05:34:56 +0000 (14:34 +0900)
committer이춘석/동작제어Lab(SR)/Staff Engineer/삼성전자 <chunseok.lee@samsung.com>
Thu, 6 Sep 2018 05:34:56 +0000 (14:34 +0900)
This commit removes unnecessary CAST_CL from pure_arm_compute.

Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
runtimes/pure_arm_compute/src/compilation.cc

index 0e21d8e..a48462a 100644 (file)
@@ -551,7 +551,7 @@ void Planner::visit(const ::internal::tflite::op::Add::Node &node)
 
       auto l = nnfw::make_unique<SimpleArithmeticAddition>();
 
-      l->configure(CAST_CL(lhs_alloc), CAST_CL(rhs_alloc), CAST_CL(ofm_alloc));
+      l->configure(lhs_alloc, rhs_alloc, ofm_alloc);
 
       fn = std::move(l);
     }
@@ -657,7 +657,7 @@ void Planner::visit(const ::internal::tflite::op::Sub::Node &node)
       builder.append("Sub", std::move(fn));
     }
 
-    ActivationBuilder{builder}.append(param.activation, CAST_CL(ofm_alloc));
+    ActivationBuilder{builder}.append(param.activation, ofm_alloc);
   };
 
   _builder.addStage(stage);