Skip to content

Commit 8f85f28

Browse files
committed
all: align header guards to file names
1 parent e7a3dbb commit 8f85f28

File tree

92 files changed

+249
-244
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+249
-244
lines changed

src/common/compiler_workarounds.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*******************************************************************************/
1616

17-
#ifndef COMPILER_WORKAROUNDS_HPP
18-
#define COMPILER_WORKAROUNDS_HPP
17+
#ifndef COMMON_COMPILER_WORKAROUNDS_HPP
18+
#define COMMON_COMPILER_WORKAROUNDS_HPP
1919

2020
// Workaround 01: clang.
2121
//
@@ -61,4 +61,4 @@
6161
#define WA_THIS_COPY_CAPTURE
6262
#endif
6363

64-
#endif // COMPILER_WORKAROUNDS_HPP
64+
#endif // COMMON_COMPILER_WORKAROUNDS_HPP

src/common/experimental.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright 2022-2024 Intel Corporation
2+
* Copyright 2022-2025 Intel Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,8 +13,8 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*******************************************************************************/
16-
#ifndef EXPERIMENTAL_HPP
17-
#define EXPERIMENTAL_HPP
16+
#ifndef COMMON_EXPERIMENTAL_HPP
17+
#define COMMON_EXPERIMENTAL_HPP
1818

1919
namespace dnnl {
2020
namespace impl {

src/common/memory_map_manager.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright 2019-2023 Intel Corporation
2+
* Copyright 2019-2025 Intel Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*******************************************************************************/
1616

17-
#ifndef MEMORY_MAP_MANAGER_HPP
18-
#define MEMORY_MAP_MANAGER_HPP
17+
#ifndef COMMON_MEMORY_MAP_MANAGER_HPP
18+
#define COMMON_MEMORY_MAP_MANAGER_HPP
1919

2020
#include "common/c_types_map.hpp"
2121
#include "common/nstl.hpp"

src/common/primitive_desc_iterator.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright 2018-2024 Intel Corporation
2+
* Copyright 2018-2025 Intel Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*******************************************************************************/
1616

17-
#ifndef COMMON_PRIMITIVE_ITERATOR_HPP
18-
#define COMMON_PRIMITIVE_ITERATOR_HPP
17+
#ifndef COMMON_PRIMITIVE_DESC_ITERATOR_HPP
18+
#define COMMON_PRIMITIVE_DESC_ITERATOR_HPP
1919

2020
#include "oneapi/dnnl/dnnl.h"
2121

src/cpu/aarch64/brgemm/jit_brdgmm_kernel.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*******************************************************************************/
17-
#ifndef CPU_AARCH64_JIT_BRDGMM_KERNEL_HPP
18-
#define CPU_AARCH64_JIT_BRDGMM_KERNEL_HPP
17+
#ifndef CPU_AARCH64_BRGEMM_JIT_BRDGMM_KERNEL_HPP
18+
#define CPU_AARCH64_BRGEMM_JIT_BRDGMM_KERNEL_HPP
1919

2020
#include "common/c_types_map.hpp"
2121
#include "common/nstl.hpp"

src/cpu/aarch64/injectors/injector_utils.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*******************************************************************************/
17-
#ifndef CPU_AARCH64_JIT_INJECTOR_UTILS_HPP
18-
#define CPU_AARCH64_JIT_INJECTOR_UTILS_HPP
17+
#ifndef CPU_AARCH64_INJECTORS_INJECTOR_UTILS_HPP
18+
#define CPU_AARCH64_INJECTORS_INJECTOR_UTILS_HPP
1919

2020
#include <array>
2121
#include <cstddef>

src/cpu/aarch64/injectors/jit_uni_binary_injector.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*******************************************************************************/
1717

18-
#ifndef CPU_AARCH64_JIT_UNI_BINARY_INJECTOR_HPP
19-
#define CPU_AARCH64_JIT_UNI_BINARY_INJECTOR_HPP
18+
#ifndef CPU_AARCH64_INJECTORS_JIT_UNI_BINARY_INJECTOR_HPP
19+
#define CPU_AARCH64_INJECTORS_JIT_UNI_BINARY_INJECTOR_HPP
2020

2121
#include <array>
2222
#include <cassert>

src/cpu/aarch64/injectors/jit_uni_eltwise_injector.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*******************************************************************************/
1717

18-
#ifndef CPU_AARCH64_JIT_UNI_ELTWISE_INJECTOR_HPP
19-
#define CPU_AARCH64_JIT_UNI_ELTWISE_INJECTOR_HPP
18+
#ifndef CPU_AARCH64_INJECTORS_JIT_UNI_ELTWISE_INJECTOR_HPP
19+
#define CPU_AARCH64_INJECTORS_JIT_UNI_ELTWISE_INJECTOR_HPP
2020

2121
#include <assert.h>
2222
#include <type_traits>

src/cpu/aarch64/injectors/jit_uni_postops_injector.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*******************************************************************************/
17-
#ifndef CPU_AARCH64_JIT_UNI_POSTOPS_INJECTOR_HPP
18-
#define CPU_AARCH64_JIT_UNI_POSTOPS_INJECTOR_HPP
17+
#ifndef CPU_AARCH64_INJECTORS_JIT_UNI_POSTOPS_INJECTOR_HPP
18+
#define CPU_AARCH64_INJECTORS_JIT_UNI_POSTOPS_INJECTOR_HPP
1919

2020
#include <functional>
2121
#include <map>

src/cpu/aarch64/jit_op_imm_check.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*******************************************************************************/
1616

17-
#ifndef JIT_OP_IMM_CHECK_HPP
18-
#define JIT_OP_IMM_CHECK_HPP
17+
#ifndef CPU_AARCH64_JIT_OP_IMM_CHECK_HPP
18+
#define CPU_AARCH64_JIT_OP_IMM_CHECK_HPP
1919

2020
#include "cpu/aarch64/cpu_isa_traits.hpp"
2121

src/cpu/aarch64/jit_sve_1x1_conv_kernel.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*******************************************************************************/
1717

18-
#ifndef CPU_AARCH64_JIT_SVE_1x1_CONV_KERNEL_HPP
19-
#define CPU_AARCH64_JIT_SVE_1x1_CONV_KERNEL_HPP
18+
#ifndef CPU_AARCH64_JIT_SVE_1X1_CONV_KERNEL_HPP
19+
#define CPU_AARCH64_JIT_SVE_1X1_CONV_KERNEL_HPP
2020

2121
#include "common/c_types_map.hpp"
2222
#include "common/memory_tracking.hpp"

src/cpu/aarch64/jit_sve_512_x8s8s32x_convolution.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*******************************************************************************/
1717

18-
#ifndef CPU_AARCH64_JIT_SVE_X8S8S32X_CONVOLUTION_HPP
19-
#define CPU_AARCH64_JIT_SVE_X8S8S32X_CONVOLUTION_HPP
18+
#ifndef CPU_AARCH64_JIT_SVE_512_X8S8S32X_CONVOLUTION_HPP
19+
#define CPU_AARCH64_JIT_SVE_512_X8S8S32X_CONVOLUTION_HPP
2020

2121
#include "common/c_types_map.hpp"
2222
#include "common/dnnl_thread.hpp"

src/cpu/aarch64/jit_uni_binary_kernel.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*******************************************************************************/
1717

18-
#ifndef CPU_AARCH64_UNI_BINARY_KERNEL_HPP
19-
#define CPU_AARCH64_UNI_BINARY_KERNEL_HPP
18+
#ifndef CPU_AARCH64_JIT_UNI_BINARY_KERNEL_HPP
19+
#define CPU_AARCH64_JIT_UNI_BINARY_KERNEL_HPP
2020

2121
#include <cassert>
2222

src/cpu/aarch64/matmul/acl_lowp_matmul.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*******************************************************************************/
1616

17-
#ifndef ACL_LOWP_MATMUL_HPP
18-
#define ACL_LOWP_MATMUL_HPP
17+
#ifndef CPU_AARCH64_MATMUL_ACL_LOWP_MATMUL_HPP
18+
#define CPU_AARCH64_MATMUL_ACL_LOWP_MATMUL_HPP
1919

2020
#include "cpu/cpu_primitive.hpp"
2121
#include "cpu/matmul/cpu_matmul_pd.hpp"
@@ -108,4 +108,4 @@ struct acl_lowp_matmul_t : public primitive_t {
108108
} // namespace impl
109109
} // namespace dnnl
110110

111-
#endif // CPU_AARCH64_ACL_LOWP_MATMUL_HPP
111+
#endif // CPU_AARCH64_CPU_AARCH64_MATMUL_ACL_LOWP_MATMUL_HPP

src/cpu/aarch64/matmul/acl_lowp_matmul_sq.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*******************************************************************************/
1616

17-
#ifndef ACL_LOWP_MATMUL_SQ_HPP
18-
#define ACL_LOWP_MATMUL_SQ_HPP
17+
#ifndef CPU_AARCH64_MATMUL_ACL_LOWP_MATMUL_SQ_HPP
18+
#define CPU_AARCH64_MATMUL_ACL_LOWP_MATMUL_SQ_HPP
1919

2020
#include <random>
2121

src/cpu/aarch64/matmul/acl_matmul.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*******************************************************************************/
1616

17-
#ifndef ACL_MATMUL_HPP
18-
#define ACL_MATMUL_HPP
17+
#ifndef CPU_AARCH64_MATMUL_ACL_MATMUL_HPP
18+
#define CPU_AARCH64_MATMUL_ACL_MATMUL_HPP
1919

2020
#include "cpu/aarch64/acl_post_ops.hpp"
2121
#include "cpu/aarch64/matmul/acl_matmul_utils.hpp"

src/cpu/aarch64/matmul/acl_matmul_utils.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*******************************************************************************/
1616

17-
#ifndef CPU_AARCH64_ACL_MATMUL_UTILS_HPP
18-
#define CPU_AARCH64_ACL_MATMUL_UTILS_HPP
17+
#ifndef CPU_AARCH64_MATMUL_ACL_MATMUL_UTILS_HPP
18+
#define CPU_AARCH64_MATMUL_ACL_MATMUL_UTILS_HPP
1919

2020
#include "arm_compute/runtime/experimental/low_level/CpuGemmAssemblyDispatch.h"
2121
#include "arm_compute/runtime/experimental/operators/CpuActivation.h"
@@ -85,4 +85,4 @@ status_t init_scratchpad(memory_tracking::registrar_t &scratchpad,
8585
} // namespace impl
8686
} // namespace dnnl
8787

88-
#endif // CPU_AARCH64_ACL_MATMUL_UTILS_HPP
88+
#endif // CPU_AARCH64_MATMUL_ACL_MATMUL_UTILS_HPP

src/cpu/aarch64/shuffle/jit_uni_shuffle.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*******************************************************************************/
1717

18-
#ifndef CPU_AARCH64_JIT_UNI_SHUFFLE_HPP
19-
#define CPU_AARCH64_JIT_UNI_SHUFFLE_HPP
18+
#ifndef CPU_AARCH64_SHUFFLE_JIT_UNI_SHUFFLE_HPP
19+
#define CPU_AARCH64_SHUFFLE_JIT_UNI_SHUFFLE_HPP
2020

2121
#include "common/c_types_map.hpp"
2222
#include "common/primitive.hpp"

src/cpu/aarch64/shuffle/jit_uni_shuffle_kernel.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*******************************************************************************/
1717

18-
#ifndef CPU_AARCH64_JIT_UNI_SHUFFLE_KERNEL_HPP
19-
#define CPU_AARCH64_JIT_UNI_SHUFFLE_KERNEL_HPP
18+
#ifndef CPU_AARCH64_SHUFFLE_JIT_UNI_SHUFFLE_KERNEL_HPP
19+
#define CPU_AARCH64_SHUFFLE_JIT_UNI_SHUFFLE_KERNEL_HPP
2020

2121
#include "common/c_types_map.hpp"
2222
#include "common/type_helpers.hpp"

src/cpu/cpu_reduction_pd.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright 2020 Intel Corporation
2+
* Copyright 2020-2025 Intel Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*******************************************************************************/
1616

17-
#ifndef CPU_REDUCTION_PD_HPP
18-
#define CPU_REDUCTION_PD_HPP
17+
#ifndef CPU_CPU_REDUCTION_PD_HPP
18+
#define CPU_CPU_REDUCTION_PD_HPP
1919

2020
#include "common/reduction_pd.hpp"
2121

src/cpu/gemm_x8s8s32x_conv_zp_src_pad_comp.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright 2020 Intel Corporation
2+
* Copyright 2020-2025 Intel Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*******************************************************************************/
1616

17-
#ifndef CPU_GEMM_X8S8S32X_CONV_ZP_SRC_PAD_COMP_HPP_
18-
#define CPU_GEMM_X8S8S32X_CONV_ZP_SRC_PAD_COMP_HPP_
17+
#ifndef CPU_GEMM_X8S8S32X_CONV_ZP_SRC_PAD_COMP_HPP
18+
#define CPU_GEMM_X8S8S32X_CONV_ZP_SRC_PAD_COMP_HPP
1919

2020
#include "common/c_types_map.hpp"
2121
#include "cpu/gemm_convolution_utils.hpp"

src/cpu/matmul/matmul_utils.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*******************************************************************************/
1717

18-
#ifndef CPU_MATMUL_UTILS_HPP
19-
#define CPU_MATMUL_UTILS_HPP
18+
#ifndef CPU_MATMUL_MATMUL_UTILS_HPP
19+
#define CPU_MATMUL_MATMUL_UTILS_HPP
2020

2121
#include "common/memory_desc_wrapper.hpp"
2222
#include "common/tag_traits.hpp"

src/cpu/ref_io_helper.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*******************************************************************************/
1616

17-
#ifndef REF_IO_HELPER_HPP
18-
#define REF_IO_HELPER_HPP
17+
#ifndef CPU_REF_IO_HELPER_HPP
18+
#define CPU_REF_IO_HELPER_HPP
1919

2020
#include <cassert>
2121

src/cpu/sycl/stream_submit_cpu_primitive.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright 2019-2024 Intel Corporation
2+
* Copyright 2019-2025 Intel Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*******************************************************************************/
1616

17-
#ifndef CPU_SYCL_STREAM_SUBMIT_CPU_DISPATCH_HPP
18-
#define CPU_SYCL_STREAM_SUBMIT_CPU_DISPATCH_HPP
17+
#ifndef CPU_SYCL_STREAM_SUBMIT_CPU_PRIMITIVE_HPP
18+
#define CPU_SYCL_STREAM_SUBMIT_CPU_PRIMITIVE_HPP
1919

2020
#include <vector>
2121

src/cpu/x64/brgemm/jit_brdgmm_kernel.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*******************************************************************************/
1616

17-
#ifndef CPU_X64_JIT_BRDGMM_KERNEL_HPP
18-
#define CPU_X64_JIT_BRDGMM_KERNEL_HPP
17+
#ifndef CPU_X64_BRGEMM_JIT_BRDGMM_KERNEL_HPP
18+
#define CPU_X64_BRGEMM_JIT_BRDGMM_KERNEL_HPP
1919

2020
#include "common/c_types_map.hpp"
2121
#include "common/nstl.hpp"

src/cpu/x64/injectors/injector_utils.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright 2020-2022 Intel Corporation
2+
* Copyright 2020-2025 Intel Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*******************************************************************************/
1616

17-
#ifndef CPU_X64_JIT_INJECTOR_UTILS_HPP
18-
#define CPU_X64_JIT_INJECTOR_UTILS_HPP
17+
#ifndef CPU_X64_INJECTORS_INJECTOR_UTILS_HPP
18+
#define CPU_X64_INJECTORS_INJECTOR_UTILS_HPP
1919

2020
#include <array>
2121
#include <cstddef>

src/cpu/x64/injectors/jit_uni_binary_injector.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright 2020-2024 Intel Corporation
2+
* Copyright 2020-2025 Intel Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*******************************************************************************/
1616

17-
#ifndef CPU_X64_JIT_UNI_BINARY_INJECTOR_HPP
18-
#define CPU_X64_JIT_UNI_BINARY_INJECTOR_HPP
17+
#ifndef CPU_X64_INJECTORS_JIT_UNI_BINARY_INJECTOR_HPP
18+
#define CPU_X64_INJECTORS_JIT_UNI_BINARY_INJECTOR_HPP
1919

2020
#include <array>
2121
#include <cassert>

src/cpu/x64/injectors/jit_uni_eltwise_injector.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright 2019-2024 Intel Corporation
2+
* Copyright 2019-2025 Intel Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*******************************************************************************/
1616

17-
#ifndef CPU_X64_JIT_UNI_ELTWISE_INJECTOR_HPP
18-
#define CPU_X64_JIT_UNI_ELTWISE_INJECTOR_HPP
17+
#ifndef CPU_X64_INJECTORS_JIT_UNI_ELTWISE_INJECTOR_HPP
18+
#define CPU_X64_INJECTORS_JIT_UNI_ELTWISE_INJECTOR_HPP
1919

2020
#include <assert.h>
2121
#include <type_traits>

0 commit comments

Comments
 (0)