GitOrigin-RevId: a0e31247a6
tags/v1.10.0
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/atlas-stub/src/libacl_cblas-wrap.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma GCC visibility push(default) | #pragma GCC visibility push(default) | ||||
| #include <cstdio> | #include <cstdio> | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/atlas-stub/src/libatlas-wrap.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma GCC visibility push(default) | #pragma GCC visibility push(default) | ||||
| #include <cstdio> | #include <cstdio> | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/cuda-stub/src/libnvrtc.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma GCC visibility push(default) | #pragma GCC visibility push(default) | ||||
| #include <cstdio> | #include <cstdio> | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/hcc_detail/hcc_defs_epilogue.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| @HIP_CPP_UNDEFINE@ | @HIP_CPP_UNDEFINE@ | ||||
| // vim: syntax=cpp.doxygen | // vim: syntax=cpp.doxygen | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/hcc_detail/hcc_defs_prologue.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| @HIP_CPP_DEFINE@ | @HIP_CPP_DEFINE@ | ||||
| // vim: syntax=cpp.doxygen | // vim: syntax=cpp.doxygen | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/hip_header.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| /** | /** | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megcore.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include <cstddef> | #include <cstddef> | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megcore_atlas.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megcore.h" | #include "megcore.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megcore_cdefs.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include <stdint.h> | #include <stdint.h> | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megcore_cuda.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "./megcore.h" | #include "./megcore.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megcore_rocm.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "./megcore.h" | #include "./megcore.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megdnn/oprs.h" | #include "megdnn/oprs.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/heuristic_cache.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megdnn/basic_types.h" | #include "megdnn/basic_types.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/arch.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| // include general build configurations | // include general build configurations | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/basic_types.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megdnn/arch.h" | #include "megdnn/arch.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/common.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megbrain_build_config.h" | #include "megbrain_build_config.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/config/config.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "megbrain_build_config.h" | #include "megbrain_build_config.h" | ||||
| #if !defined(__CUDACC__) && !defined(__HIPCC__) | #if !defined(__CUDACC__) && !defined(__HIPCC__) | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/cuda.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megdnn/basic_types.h" | #include "megdnn/basic_types.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/dtype.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megdnn/arch.h" | #include "megdnn/arch.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/handle.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megcore.h" | #include "megcore.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/internal/defs.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #define MEGDNN_MAX_NDIM 7 | #define MEGDNN_MAX_NDIM 7 | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/internal/opr_header_epilogue.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| // intentional no header guard here | // intentional no header guard here | ||||
| #undef DEF_OPR_PARAM | #undef DEF_OPR_PARAM | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/internal/opr_header_prologue.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| // intentional no header guard here | // intentional no header guard here | ||||
| #include "megdnn/handle.h" | #include "megdnn/handle.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/internal/visibility_epilogue.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #if MEGDNN_SHARED_LIB | #if MEGDNN_SHARED_LIB | ||||
| #pragma GCC visibility pop | #pragma GCC visibility pop | ||||
| #endif | #endif | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/internal/visibility_prologue.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #ifdef MEGDNN_VISIBILITY_PROLOGUE_INCLUDED | #ifdef MEGDNN_VISIBILITY_PROLOGUE_INCLUDED | ||||
| #error "visibility_prologue.h included twice without including visibility_epilogue.h" | #error "visibility_prologue.h included twice without including visibility_epilogue.h" | ||||
| #else | #else | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/named_tensor.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megdnn/internal/defs.h" | #include "megdnn/internal/defs.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/opr_result_defs.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include <stdint.h> | #include <stdint.h> | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/oprs.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megdnn/oprs/cv.h" | #include "megdnn/oprs/cv.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/oprs/base.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include <type_traits> | #include <type_traits> | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/oprs/cv.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megdnn/internal/opr_header_prologue.h" | #include "megdnn/internal/opr_header_prologue.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/oprs/general.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megdnn/internal/opr_header_prologue.h" | #include "megdnn/internal/opr_header_prologue.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/oprs/imgproc.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megdnn/internal/opr_header_prologue.h" | #include "megdnn/internal/opr_header_prologue.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/oprs/linalg.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megdnn/internal/opr_header_prologue.h" | #include "megdnn/internal/opr_header_prologue.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/oprs/nn.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megdnn/internal/opr_header_prologue.h" | #include "megdnn/internal/opr_header_prologue.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/oprs/nn_int.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megdnn/internal/opr_header_prologue.h" | #include "megdnn/internal/opr_header_prologue.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/oprs/utils.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megdnn/internal/opr_header_prologue.h" | #include "megdnn/internal/opr_header_prologue.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/tensor_format.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megdnn/basic_types.h" | #include "megdnn/basic_types.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/tensor_iter.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "megdnn/basic_types.h" | #include "megdnn/basic_types.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/thin/function.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include <cstdlib> | #include <cstdlib> | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/thin/small_vector.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| //===- llvm/ADT/SmallVector.h - 'Normally small' vectors --------*- C++ -*-===// | //===- llvm/ADT/SmallVector.h - 'Normally small' vectors --------*- C++ -*-===// | ||||
| // | // | ||||
| // The LLVM Compiler Infrastructure | // The LLVM Compiler Infrastructure | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/include/megdnn/version.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #define MEGDNN_MAJOR 9 | #define MEGDNN_MAJOR 9 | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/conv_bias/fp16/algos.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #include "src/aarch64/conv_bias/fp16/algos.h" | #include "src/aarch64/conv_bias/fp16/algos.h" | ||||
| #include "src/aarch64/conv_bias/fp16/stride2_kern.h" | #include "src/aarch64/conv_bias/fp16/stride2_kern.h" | ||||
| #include "src/arm_common/conv_bias/postprocess_helper.h" | #include "src/arm_common/conv_bias/postprocess_helper.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/conv_bias/fp16/algos.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/aarch64/conv_bias/opr_impl.h" | #include "src/aarch64/conv_bias/opr_impl.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/conv_bias/fp16/stride2_kern.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #if __ARM_FEATURE_FP16_VECTOR_ARITHMETIC | #if __ARM_FEATURE_FP16_VECTOR_ARITHMETIC | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/conv_bias/fp32/algos.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/conv_bias/fp32/algos.h" | #include "src/aarch64/conv_bias/fp32/algos.h" | ||||
| #include "src/aarch64/conv_bias/fp32/stride2_kern.h" | #include "src/aarch64/conv_bias/fp32/stride2_kern.h" | ||||
| #include "src/arm_common/conv_bias/postprocess_helper.h" | #include "src/arm_common/conv_bias/postprocess_helper.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/conv_bias/fp32/algos.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/aarch64/conv_bias/opr_impl.h" | #include "src/aarch64/conv_bias/opr_impl.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/conv_bias/fp32/stride2_kern.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include <cstddef> | #include <cstddef> | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/conv_bias/int8/algos.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/conv_bias/int8/algos.h" | #include "src/aarch64/conv_bias/int8/algos.h" | ||||
| #include "src/aarch64/conv_bias/int8/strategy.h" | #include "src/aarch64/conv_bias/int8/strategy.h" | ||||
| #include "src/arm_common/convolution/img2col_helper.h" | #include "src/arm_common/convolution/img2col_helper.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/conv_bias/int8/algos.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/aarch64/conv_bias/opr_impl.h" | #include "src/aarch64/conv_bias/opr_impl.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/conv_bias/int8/strategy.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/conv_bias/int8/strategy.h" | #include "src/aarch64/conv_bias/int8/strategy.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| #include "src/common/utils.h" | #include "src/common/utils.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/conv_bias/int8/strategy.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/fallback/matrix_mul/gemm_common.h" | #include "src/fallback/matrix_mul/gemm_common.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/conv_bias/opr_impl.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/conv_bias/opr_impl.h" | #include "src/aarch64/conv_bias/opr_impl.h" | ||||
| #include "src/aarch64/conv_bias/int8/algos.h" | #include "src/aarch64/conv_bias/int8/algos.h" | ||||
| #include "src/aarch64/conv_bias/quint8/algos.h" | #include "src/aarch64/conv_bias/quint8/algos.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/conv_bias/opr_impl.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/arm_common/conv_bias/opr_impl.h" | #include "src/arm_common/conv_bias/opr_impl.h" | ||||
| #include "src/common/utils.h" | #include "src/common/utils.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/conv_bias/quint8/algos.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/conv_bias/quint8/algos.h" | #include "src/aarch64/conv_bias/quint8/algos.h" | ||||
| #include "src/aarch64/conv_bias/quint8/strategy.h" | #include "src/aarch64/conv_bias/quint8/strategy.h" | ||||
| #include "src/aarch64/matrix_mul/quint8_dot/gemv.h" | #include "src/aarch64/matrix_mul/quint8_dot/gemv.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/conv_bias/quint8/algos.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/aarch64/conv_bias/opr_impl.h" | #include "src/aarch64/conv_bias/opr_impl.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/conv_bias/quint8/strategy.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/conv_bias/quint8/strategy.h" | #include "src/aarch64/conv_bias/quint8/strategy.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| #include "src/common/utils.h" | #include "src/common/utils.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/conv_bias/quint8/strategy.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/fallback/matrix_mul/gemm_common.h" | #include "src/fallback/matrix_mul/gemm_common.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/handle.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/common/handle_impl.h" | #include "src/common/handle_impl.h" | ||||
| #include "src/aarch64/conv_bias/opr_impl.h" | #include "src/aarch64/conv_bias/opr_impl.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/handle.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/arm_common/handle.h" | #include "src/arm_common/handle.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/algos.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/algos.h" | #include "src/aarch64/matrix_mul/algos.h" | ||||
| #include "src/aarch64/matrix_mul/fp16/strategy.h" | #include "src/aarch64/matrix_mul/fp16/strategy.h" | ||||
| #include "src/aarch64/matrix_mul/fp32/strategy.h" | #include "src/aarch64/matrix_mul/fp32/strategy.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/algos.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/aarch64/matrix_mul/opr_impl.h" | #include "src/aarch64/matrix_mul/opr_impl.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/asm/common.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include <cmath> | #include <cmath> | ||||
| #include <cstdint> | #include <cstdint> | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/fp16/strategy.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/fp16/strategy.h" | #include "src/aarch64/matrix_mul/fp16/strategy.h" | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/fp16/strategy.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/fallback/matrix_mul/gemm_common.h" | #include "src/fallback/matrix_mul/gemm_common.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/fp16/strategy_mk8_8x8.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/aarch64/matrix_mul/fp16/strategy.h" | #include "src/aarch64/matrix_mul/fp16/strategy.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/fp32/common.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include <cstddef> | #include <cstddef> | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/fp32/kernel_general_4x16.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12_a55.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12_a55.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12_a53.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12_a55.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/fp32/strategy.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/fp32/strategy.h" | #include "src/aarch64/matrix_mul/fp32/strategy.h" | ||||
| #include "src/aarch64/matrix_mul/fp32/kernel_general_4x16.h" | #include "src/aarch64/matrix_mul/fp32/kernel_general_4x16.h" | ||||
| #include "src/aarch64/matrix_mul/fp32/kernel_general_8x12.h" | #include "src/aarch64/matrix_mul/fp32/kernel_general_8x12.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/fp32/strategy.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/fallback/matrix_mul/gemm_common.h" | #include "src/fallback/matrix_mul/gemm_common.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/fp32/strategy_mk4_4x16.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/aarch64/matrix_mul/fp32/strategy.h" | #include "src/aarch64/matrix_mul/fp32/strategy.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int16/kernel_12x8x1.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int16/strategy.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/int16/strategy.h" | #include "src/aarch64/matrix_mul/int16/strategy.h" | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/aarch64/matrix_mul/int16/kernel_12x8x1.h" | #include "src/aarch64/matrix_mul/int16/kernel_12x8x1.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int16/strategy.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/fallback/matrix_mul/gemm_common.h" | #include "src/fallback/matrix_mul/gemm_common.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int16/strategy_mk8_8x8.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/aarch64/matrix_mul/int16/strategy.h" | #include "src/aarch64/matrix_mul/int16/strategy.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int4x4x16/kernel_8x8x8.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include <inttypes.h> | #include <inttypes.h> | ||||
| #include <cstring> | #include <cstring> | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int4x4x16/strategy.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/int4x4x16/strategy.h" | #include "src/aarch64/matrix_mul/int4x4x16/strategy.h" | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/aarch64/matrix_mul/int4x4x16/kernel_int4_8x8x8.h" | #include "src/aarch64/matrix_mul/int4x4x16/kernel_int4_8x8x8.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int4x4x16/strategy.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/fallback/matrix_mul/gemm_common.h" | #include "src/fallback/matrix_mul/gemm_common.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int8/kernel_4x4x16.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int8/kernel_8x8x8.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int8/kernel_mk4_4x4x16.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int8/strategy.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/int8/strategy.h" | #include "src/aarch64/matrix_mul/int8/strategy.h" | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/aarch64/matrix_mul/int8/kernel_4x4x16.h" | #include "src/aarch64/matrix_mul/int8/kernel_4x4x16.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int8/strategy.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/fallback/matrix_mul/gemm_common.h" | #include "src/fallback/matrix_mul/gemm_common.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int8_dot/kernel_8x12x4.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #if MGB_ENABLE_DOT | #if MGB_ENABLE_DOT | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int8_dot/kernel_mk4_8x12x4.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #if MGB_ENABLE_DOT | #if MGB_ENABLE_DOT | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int8_dot/strategy.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/int8_dot/strategy.h" | #include "src/aarch64/matrix_mul/int8_dot/strategy.h" | ||||
| #if MGB_ENABLE_DOT | #if MGB_ENABLE_DOT | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| @@ -1,13 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int8_dot/strategy.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/fallback/matrix_mul/gemm_common.h" | #include "src/fallback/matrix_mul/gemm_common.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int8x8x16/kernel_4x4x16.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include <inttypes.h> | #include <inttypes.h> | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int8x8x16/kernel_8x8x8.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| */ | |||||
| #include <inttypes.h> | #include <inttypes.h> | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/armv7/matrix_mul/int8x8x16/kernel_mk4_8x8x4.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #include <inttypes.h> | #include <inttypes.h> | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int8x8x16/kernel_mk4_4x4x8_a72.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #include <inttypes.h> | #include <inttypes.h> | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int8x8x16/kernel_mk4_8x8x8.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #include <inttypes.h> | #include <inttypes.h> | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/arm_common/simd_macro/marm_neon.h" | #include "src/arm_common/simd_macro/marm_neon.h" | ||||
| @@ -1,15 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int8x8x16/strategy.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/int8x8x16/strategy.h" | #include "src/aarch64/matrix_mul/int8x8x16/strategy.h" | ||||
| #include "src/aarch64/matrix_mul/asm/common.h" | #include "src/aarch64/matrix_mul/asm/common.h" | ||||
| #include "src/aarch64/matrix_mul/int8x8x16/kernel_4x4x16.h" | #include "src/aarch64/matrix_mul/int8x8x16/kernel_4x4x16.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/int8x8x16/strategy.h | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #pragma once | #pragma once | ||||
| #include "src/fallback/matrix_mul/gemm_common.h" | #include "src/fallback/matrix_mul/gemm_common.h" | ||||
| @@ -1,14 +1,3 @@ | |||||
| /** | |||||
| * \file dnn/src/aarch64/matrix_mul/opr_impl.cpp | |||||
| * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") | |||||
| * | |||||
| * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. | |||||
| * | |||||
| * Unless required by applicable law or agreed to in writing, | |||||
| * software distributed under the License is distributed on an | |||||
| * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||||
| * implied. | |||||
| */ | |||||
| #include "src/aarch64/matrix_mul/opr_impl.h" | #include "src/aarch64/matrix_mul/opr_impl.h" | ||||
| #include "src/aarch64/matrix_mul/algos.h" | #include "src/aarch64/matrix_mul/algos.h" | ||||
| #include "src/common/metahelper.h" | #include "src/common/metahelper.h" | ||||