summaryrefslogtreecommitdiff
path: root/include/kernel/acl
diff options
context:
space:
mode:
Diffstat (limited to 'include/kernel/acl')
-rw-r--r--include/kernel/acl/Add.h44
-rw-r--r--include/kernel/acl/Concatenation.h42
-rw-r--r--include/kernel/acl/Conv2D.h52
-rw-r--r--include/kernel/acl/DepthwiseConv2D.h52
-rw-r--r--include/kernel/acl/FullyConnected.h45
-rw-r--r--include/kernel/acl/Mul.h43
-rw-r--r--include/kernel/acl/Pooling.h66
-rw-r--r--include/kernel/acl/ReLU.h40
-rw-r--r--include/kernel/acl/ReLU6.h45
-rw-r--r--include/kernel/acl/Reshape.h37
-rw-r--r--include/kernel/acl/Softmax.h42
-rw-r--r--include/kernel/acl/nnfw_kernel_acl.h30
12 files changed, 0 insertions, 538 deletions
diff --git a/include/kernel/acl/Add.h b/include/kernel/acl/Add.h
deleted file mode 100644
index 73a7d752a..000000000
--- a/include/kernel/acl/Add.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __NNFW_KERNEL_ACL_ADD_H__
-#define __NNFW_KERNEL_ACL_ADD_H__
-
-#include <OperationsUtils.h>
-
-namespace nnfw {
-namespace kernel {
-namespace acl {
-
-bool addFloat32(const float* inputData1, const nnfw::rt::Shape& inputShape1,
- const float* inputData2, const nnfw::rt::Shape& inputShape2,
- int32_t activation,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-namespace neon {
-
-bool addFloat32(const float* inputData1, const nnfw::rt::Shape& inputShape1,
- const float* inputData2, const nnfw::rt::Shape& inputShape2,
- int32_t activation,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-} // namespace neon
-
-} // namespace acl
-} // namespace kernal
-} // namespace nnfw
-
-#endif // __NNFW_KERNEL_ACL_ADD_H__
diff --git a/include/kernel/acl/Concatenation.h b/include/kernel/acl/Concatenation.h
deleted file mode 100644
index 3e5185102..000000000
--- a/include/kernel/acl/Concatenation.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __NNFW_KERNEL_ACL_CONCATENATION_H__
-#define __NNFW_KERNEL_ACL_CONCATENATION_H__
-
-#include <OperationsUtils.h>
-
-namespace nnfw {
-namespace kernel {
-namespace acl {
-
-bool concatenationFloat32(const std::vector<const float*>& inputDataPtrs,
- const std::vector<nnfw::rt::Shape>& inputShapes, int32_t axis,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-namespace neon {
-
-bool concatenationFloat32(const std::vector<const float*>& inputDataPtrs,
- const std::vector<nnfw::rt::Shape>& inputShapes, int32_t axis,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-} // namespace neon
-
-} // namespace acl
-} // namespace kernal
-} // namespace nnfw
-
-#endif // __NNFW_KERNEL_ACL_CONCATENATION_H__
diff --git a/include/kernel/acl/Conv2D.h b/include/kernel/acl/Conv2D.h
deleted file mode 100644
index 5f2cd4d06..000000000
--- a/include/kernel/acl/Conv2D.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __NNFW_KERNEL_ACL_CONV2D_H__
-#define __NNFW_KERNEL_ACL_CONV2D_H__
-
-#include <OperationsUtils.h>
-
-namespace nnfw {
-namespace kernel {
-namespace acl {
-
-bool convFloat32(const float* inputData, const nnfw::rt::Shape& inputShape,
- const float* filterData, const nnfw::rt::Shape& filterShape,
- const float* biasData, const nnfw::rt::Shape& biasShape,
- int32_t padding_left, int32_t padding_right,
- int32_t padding_top, int32_t padding_bottom,
- int32_t stride_width, int32_t stride_height,
- int32_t activation,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-namespace neon {
-
-bool convFloat32(const float* inputData, const nnfw::rt::Shape& inputShape,
- const float* filterData, const nnfw::rt::Shape& filterShape,
- const float* biasData, const nnfw::rt::Shape& biasShape,
- int32_t padding_left, int32_t padding_right,
- int32_t padding_top, int32_t padding_bottom,
- int32_t stride_width, int32_t stride_height,
- int32_t activation,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-} // namespace neon
-
-} // namespace acl
-} // namespace kernal
-} // namespace nnfw
-
-#endif // __NNFW_KERNEL_ACL_CONV2D_H__
diff --git a/include/kernel/acl/DepthwiseConv2D.h b/include/kernel/acl/DepthwiseConv2D.h
deleted file mode 100644
index b6576d206..000000000
--- a/include/kernel/acl/DepthwiseConv2D.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __NNFW_KERNEL_ACL_DEPTHWISECONV2D_H__
-#define __NNFW_KERNEL_ACL_DEPTHWISECONV2D_H__
-
-#include <OperationsUtils.h>
-
-namespace nnfw {
-namespace kernel {
-namespace acl {
-
-bool depthwiseConvFloat32(const float* inputData, const nnfw::rt::Shape& inputShape,
- const float* filterData, const nnfw::rt::Shape& filterShape,
- const float* biasData, const nnfw::rt::Shape& biasShape,
- int32_t padding_left, int32_t padding_right,
- int32_t padding_top, int32_t padding_bottom,
- int32_t stride_width, int32_t stride_height,
- int32_t depth_multiplier, int32_t activation,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-namespace neon {
-
-bool depthwiseConvFloat32(const float* inputData, const nnfw::rt::Shape& inputShape,
- const float* filterData, const nnfw::rt::Shape& filterShape,
- const float* biasData, const nnfw::rt::Shape& biasShape,
- int32_t padding_left, int32_t padding_right,
- int32_t padding_top, int32_t padding_bottom,
- int32_t stride_width, int32_t stride_height,
- int32_t depth_multiplier, int32_t activation,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-} // namespace neon
-
-} // namespace acl
-} // namespace kernel
-} // namespace nnfw
-
-#endif // __NNFW_KERNEL_ACL_DEPTHWISECONV2D_H__
diff --git a/include/kernel/acl/FullyConnected.h b/include/kernel/acl/FullyConnected.h
deleted file mode 100644
index 9695d638a..000000000
--- a/include/kernel/acl/FullyConnected.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __NNFW_KERNEL_ACL_FULLYCONNECTED_H__
-#define __NNFW_KERNEL_ACL_FULLYCONNECTED_H__
-
-#include <OperationsUtils.h>
-
-namespace nnfw {
-namespace kernel {
-namespace acl {
-
-bool fullyConnectedFloat32(const float* inputData, const nnfw::rt::Shape& inputShape,
- const float* weightsData, const nnfw::rt::Shape& weightsShape,
- const float* biasData, const nnfw::rt::Shape& biasShape,
- int32_t activation,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-namespace neon {
-
-bool fullyConnectedFloat32(const float* inputData, const nnfw::rt::Shape& inputShape,
- const float* weightsData, const nnfw::rt::Shape& weightsShape,
- const float* biasData, const nnfw::rt::Shape& biasShape,
- int32_t activation,
- float* outputData, const nnfw::rt::Shape& outputShape);
-} // namespace neon
-
-} // namespace acl
-} // namespace kernel
-} // namespace nnfw
-
-#endif // __NNFW_KERNEL_ACL_FULLYCONNECTED_H__
diff --git a/include/kernel/acl/Mul.h b/include/kernel/acl/Mul.h
deleted file mode 100644
index 7e0c15c6c..000000000
--- a/include/kernel/acl/Mul.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __NNFW_KERNEL_ACL_MUL_H__
-#define __NNFW_KERNEL_ACL_MUL_H__
-
-#include <OperationsUtils.h>
-
-namespace nnfw {
-namespace kernel {
-namespace acl {
-
-bool mulFloat32(const float* inputData1, const nnfw::rt::Shape& inputShape1,
- const float* inputData2, const nnfw::rt::Shape& inputShape2,
- int32_t activation,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-namespace neon {
-
-bool mulFloat32(const float* inputData1, const nnfw::rt::Shape& inputShape1,
- const float* inputData2, const nnfw::rt::Shape& inputShape2,
- int32_t activation,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-} // namespace neon
-} // namespace acl
-} // namespace kernal
-} // namespace nnfw
-
-#endif // __NNFW_KERNEL_ACL_MUL_H__
diff --git a/include/kernel/acl/Pooling.h b/include/kernel/acl/Pooling.h
deleted file mode 100644
index 0205f9989..000000000
--- a/include/kernel/acl/Pooling.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __NNFW_KERNEL_ACL_POOLING_H__
-#define __NNFW_KERNEL_ACL_POOLING_H__
-
-#include <OperationsUtils.h>
-
-namespace nnfw {
-namespace kernel {
-namespace acl {
-
-bool maxPoolFloat32(const float* inputData, const nnfw::rt::Shape& inputShape,
- int32_t padding_left, int32_t padding_right,
- int32_t padding_top, int32_t padding_bottom,
- int32_t stride_width, int32_t stride_height,
- int32_t filter_width, int32_t filter_height,
- int32_t activation,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-bool averagePoolFloat32(const float* inputData, const nnfw::rt::Shape& inputShape,
- int32_t padding_left, int32_t padding_right,
- int32_t padding_top, int32_t padding_bottom,
- int32_t stride_width, int32_t stride_height,
- int32_t filter_width, int32_t filter_height,
- int32_t activation,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-namespace neon {
-
-bool maxPoolFloat32(const float* inputData, const nnfw::rt::Shape& inputShape,
- int32_t padding_left, int32_t padding_right,
- int32_t padding_top, int32_t padding_bottom,
- int32_t stride_width, int32_t stride_height,
- int32_t filter_width, int32_t filter_height,
- int32_t activation,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-bool averagePoolFloat32(const float* inputData, const nnfw::rt::Shape& inputShape,
- int32_t padding_left, int32_t padding_right,
- int32_t padding_top, int32_t padding_bottom,
- int32_t stride_width, int32_t stride_height,
- int32_t filter_width, int32_t filter_height,
- int32_t activation,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-} // namespace neon
-
-} // namespace acl
-} // namespace kernel
-} // namespace nnfw
-
-#endif // __NNFW_KERNEL_ACL_POOLING_H__
diff --git a/include/kernel/acl/ReLU.h b/include/kernel/acl/ReLU.h
deleted file mode 100644
index 20278bf98..000000000
--- a/include/kernel/acl/ReLU.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __NNFW_KERNEL_ACL_RELU_H__
-#define __NNFW_KERNEL_ACL_RELU_H__
-
-#include <OperationsUtils.h>
-
-namespace nnfw {
-namespace kernel {
-namespace acl {
-
-bool reluFloat32(const float* inputData, const nnfw::rt::Shape& inputShape,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-namespace neon {
-
- bool reluFloat32(const float* inputData, const nnfw::rt::Shape& inputShape,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-} // namespace neon
-
-} // namespace acl
-} // namespace kernel
-} // namespace nnfw
-
-#endif // __NNFW_KERNEL_ACL_RELU_H__
diff --git a/include/kernel/acl/ReLU6.h b/include/kernel/acl/ReLU6.h
deleted file mode 100644
index d68c792e4..000000000
--- a/include/kernel/acl/ReLU6.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __NNFW_KERNEL_ACL_RELU6H__
-#define __NNFW_KERNEL_ACL_RELU6H__
-
-#include <OperationsUtils.h>
-
-namespace nnfw {
-namespace kernel {
-namespace acl {
-
-bool relu6Float32(const float* inputData, const nnfw::rt::Shape& inputShape,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-bool relu6LUFloat32(const float* inputData, const nnfw::rt::Shape& inputShape,
- float* outputData, const nnfw::rt::Shape& outputShape);
-namespace neon {
-
- bool relu6Float32(const float* inputData, const nnfw::rt::Shape& inputShape,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
- bool relu6LUFloat32(const float* inputData, const nnfw::rt::Shape& inputShape,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-} // namespace neon
-
-} // namespace acl
-} // namespace kernel
-} // namespace nnfw
-
-#endif // __NNFW_KERNEL_ACL_RELU6H__
diff --git a/include/kernel/acl/Reshape.h b/include/kernel/acl/Reshape.h
deleted file mode 100644
index 418db7374..000000000
--- a/include/kernel/acl/Reshape.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __NNFW_KERNEL_ACL_RESHAPE_H__
-#define __NNFW_KERNEL_ACL_RESHAPE_H__
-
-#include <OperationsUtils.h>
-
-namespace nnfw {
-namespace kernel {
-namespace acl {
-
-bool reshapeGeneric(const void* inputData, const nnfw::rt::Shape& inputShape,
- void* outputData, const nnfw::rt::Shape& outputShape);
-namespace neon {
-bool reshapeGeneric(const void* inputData, const nnfw::rt::Shape& inputShape,
- void* outputData, const nnfw::rt::Shape& outputShape);
-} // namespace neon
-
-} // namespace acl
-} // namespace kernel
-} // namespace nnfw
-
-#endif // __NNFW_KERNEL_ACL_RESHAPE_H__
diff --git a/include/kernel/acl/Softmax.h b/include/kernel/acl/Softmax.h
deleted file mode 100644
index d1f7dafb3..000000000
--- a/include/kernel/acl/Softmax.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __NNFW_KERNEL_ACL_SOFTMAX_H__
-#define __NNFW_KERNEL_ACL_SOFTMAX_H__
-
-#include <OperationsUtils.h>
-
-namespace nnfw {
-namespace kernel {
-namespace acl {
-
-bool softmaxFloat32(const float* inputData, const nnfw::rt::Shape& inputShape,
- const float beta,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-namespace neon {
-
-bool softmaxFloat32(const float* inputData, const nnfw::rt::Shape& inputShape,
- const float beta,
- float* outputData, const nnfw::rt::Shape& outputShape);
-
-} // namespace neon
-
-} // namespace acl
-} // namespace kernel
-} // namespace nnfw
-
-#endif // __NNFW_KERNEL_ACL_SOFTMAX_H__
diff --git a/include/kernel/acl/nnfw_kernel_acl.h b/include/kernel/acl/nnfw_kernel_acl.h
deleted file mode 100644
index 71975029e..000000000
--- a/include/kernel/acl/nnfw_kernel_acl.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __NNFW_KERNEL_ACL_H__
-#define __NNFW_KERNEL_ACL_H__
-
-namespace nnfw {
-namespace kernel {
-namespace acl {
-
-void Initialize(void);
-
-} // namespace acl
-} // namespace kernel
-} // namespace nnfw
-
-#endif // __NNFW_KERNEL_ACL_H__