From ffe1c2a5b2d9beee557738f4d9ec4744721c2acc Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/On-Device=20Lab=28SR=29/Staff?= =?utf8?q?=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Mon, 11 Mar 2019 11:07:05 +0900 Subject: [PATCH] Introduce ARMComputeEx meta header (#4653) This commit introduces a meta header for each domain (CL/NEON) that includes all the functions that each domain provides similarly as ARMCompute does. Signed-off-by: Jonghyun Park --- .../arm_compute/runtime/CL/CLFunctionsEx.h | 43 ++++++++++++++++++++++ .../arm_compute/runtime/NEON/NEFunctionsEx.h | 21 +++++++++++ libs/ARMComputeEx/src/runtime/CL/CLFunctionsEx.cpp | 20 ++++++++++ .../src/runtime/NEON/NEFunctionsEx.cpp | 20 ++++++++++ 4 files changed, 104 insertions(+) create mode 100644 libs/ARMComputeEx/arm_compute/runtime/CL/CLFunctionsEx.h create mode 100644 libs/ARMComputeEx/arm_compute/runtime/NEON/NEFunctionsEx.h create mode 100644 libs/ARMComputeEx/src/runtime/CL/CLFunctionsEx.cpp create mode 100644 libs/ARMComputeEx/src/runtime/NEON/NEFunctionsEx.cpp diff --git a/libs/ARMComputeEx/arm_compute/runtime/CL/CLFunctionsEx.h b/libs/ARMComputeEx/arm_compute/runtime/CL/CLFunctionsEx.h new file mode 100644 index 0000000..ab3993c --- /dev/null +++ b/libs/ARMComputeEx/arm_compute/runtime/CL/CLFunctionsEx.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2019 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 __ARM_COMPUTE_CLFUNCTIONSEX_H__ +#define __ARM_COMPUTE_CLFUNCTIONSEX_H__ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // __ARM_COMPUTE_CLFUNCTIONSEX_H__ diff --git a/libs/ARMComputeEx/arm_compute/runtime/NEON/NEFunctionsEx.h b/libs/ARMComputeEx/arm_compute/runtime/NEON/NEFunctionsEx.h new file mode 100644 index 0000000..1780b21 --- /dev/null +++ b/libs/ARMComputeEx/arm_compute/runtime/NEON/NEFunctionsEx.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2019 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 __ARM_COMPUTE_NEFUNCTIONSEX_H__ +#define __ARM_COMPUTE_NEFUNCTIONSEX_H__ + +#include + +#endif // __ARM_COMPUTE_NEFUNCTIONSEX_H__ diff --git a/libs/ARMComputeEx/src/runtime/CL/CLFunctionsEx.cpp b/libs/ARMComputeEx/src/runtime/CL/CLFunctionsEx.cpp new file mode 100644 index 0000000..158fe0b --- /dev/null +++ b/libs/ARMComputeEx/src/runtime/CL/CLFunctionsEx.cpp @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2019 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. + */ + +#include "arm_compute/runtime/CL/CLFunctionsEx.h" + +// NOTE This empty file aims to validate "CLFunctionsEx.h". +// DO NOT REMOVE this file. diff --git a/libs/ARMComputeEx/src/runtime/NEON/NEFunctionsEx.cpp b/libs/ARMComputeEx/src/runtime/NEON/NEFunctionsEx.cpp new file mode 100644 index 0000000..80fbf35 --- /dev/null +++ b/libs/ARMComputeEx/src/runtime/NEON/NEFunctionsEx.cpp @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2019 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. + */ + +#include "arm_compute/runtime/NEON/NEFunctionsEx.h" + +// NOTE This empty file aims to validate "NEFunctionsEx.h". +// DO NOT REMOVE this file. -- 2.7.4