-file(GLOB SOURCES "*.cc")
+file(GLOB_RECURSE SOURCES "*.cc")
add_library(${LIB_NEURUN_BACKEND_ACL_CL} STATIC ${SOURCES})
#include <cassert>
-#include "internal/arm_compute.h"
+#include "operand/Object.h"
namespace neurun
{
::internal::tflite::operand::Index ind{ind_int};
auto tensor = std::make_shared<::arm_compute::CLTensor>();
tensor->allocator()->init(tensor_info_ctx.at(ind.asInt()));
- _plan.operands().set(ind, std::make_shared<::internal::arm_compute::operand::Object>(tensor));
+ _plan.operands().set(ind, std::make_shared<operand::Object>(tensor));
_tensors[ind.asInt()] = tensor;
}
}
-#include "internal/arm_compute.h"
+#include "Object.h"
#include <arm_compute/runtime/CL/CLScheduler.h>
-#include <cassert>
-
-namespace internal
+namespace neurun
+{
+namespace backend
{
-namespace arm_compute
+namespace acl_cl
{
namespace operand
{
}
} // namespace operand
-} // namepsace arm_compute
-} // namespace internal
+} // namespace acl_cl
+} // namespace backend
+} // namespace neurun
-#ifndef __INTERNAL_ARM_COMPUTE_H__
-#define __INTERNAL_ARM_COMPUTE_H__
+#ifndef __NEURUN_BACKEND_ACL_CL_OPERAND_OBJECT_H__
+#define __NEURUN_BACKEND_ACL_CL_OPERAND_OBJECT_H__
+#include <memory>
#include <arm_compute/core/CL/ICLTensor.h>
#include "internal/IObject.h"
-namespace internal
+namespace neurun
{
-namespace arm_compute
+namespace backend
+{
+namespace acl_cl
{
namespace operand
{
};
} // namespace operand
-} // namepsace arm_compute
-} // namespace internal
+} // namespace acl_cl
+} // namespace backend
+} // namespace neurun
-#endif // __INTERNAL_ARM_COMPUTE_H__
+#endif // __NEURUN_BACKEND_ACL_CL_OPERAND_OBJECT_H__
#include <cassert>
-#include "internal/arm_compute.h"
-
namespace neurun
{
namespace backend