diff --git a/mindspore/lite/src/runtime/kernel/opencl/image_format.h b/mindspore/lite/src/runtime/kernel/opencl/image_format.h index bbf4bacb5ad736b572600e7f12628f8440c4ef1d..a2533dfb0551e8825b21e222a0cc56b411b38849 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/image_format.h +++ b/mindspore/lite/src/runtime/kernel/opencl/image_format.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_BACKEND_OPENCL_IMAGE_FORMAT_H_ -#define MINDSPORE_LITE_SRC_BACKEND_OPENCL_IMAGE_FORMAT_H_ +#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_IMAGE_FORMAT_H_ +#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_IMAGE_FORMAT_H_ #include "src/runtime/opencl/opencl_runtime.h" @@ -59,5 +59,5 @@ cl_channel_type ToImageChannelType(TypeId data_type) { } // namespace kernel } // namespace mindspore -#endif // MINDSPORE_LITE_SRC_BACKEND_OPENCL_IMAGE_FORMAT_H_ +#endif // MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_IMAGE_FORMAT_H_ diff --git a/mindspore/lite/src/runtime/kernel/opencl/kernel/arithmetic.h b/mindspore/lite/src/runtime/kernel/opencl/kernel/arithmetic.h index 5210f8e771885b3db0373c1179b574e62bca43a6..a48fffaba85e74f973b47138decd6a9949250a38 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/kernel/arithmetic.h +++ b/mindspore/lite/src/runtime/kernel/opencl/kernel/arithmetic.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_BACKEND_OPENCL_ARITHMETIC_H_ -#define MINDSPORE_LITE_SRC_BACKEND_OPENCL_ARITHMETIC_H_ +#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_ARITHMETIC_H_ +#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_ARITHMETIC_H_ #include #include "src/runtime/kernel/arm/fp32/arithmetic.h" @@ -51,4 +51,4 @@ class ArithmeticOpenCLKernel : public OpenCLKernel { }; } // namespace mindspore::kernel -#endif // MINDSPORE_LITE_SRC_BACKEND_OPENCL_ARITHMETIC_H_ +#endif // MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_ARITHMETIC_H_ diff --git a/mindspore/lite/src/runtime/kernel/opencl/kernel/batchnorm.h b/mindspore/lite/src/runtime/kernel/opencl/kernel/batchnorm.h index fbfd2a18dc08702ebcc426769b2f1c3e04948fbd..16027ab5951337dae507527486b996559d8593e3 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/kernel/batchnorm.h +++ b/mindspore/lite/src/runtime/kernel/opencl/kernel/batchnorm.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_BACKEND_OPENCL_BATCHNORM_H_ -#define MINDSPORE_LITE_SRC_BACKEND_OPENCL_BATCHNORM_H_ +#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_BATCHNORM_H_ +#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_BATCHNORM_H_ #include #include "ir/anf.h" diff --git a/mindspore/lite/src/runtime/kernel/opencl/kernel/concat.h b/mindspore/lite/src/runtime/kernel/opencl/kernel/concat.h index a411bd6af61da5c071557aae8437e278e03c4e2d..dafd374753a1367f16244fb24807606ce0aa65b7 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/kernel/concat.h +++ b/mindspore/lite/src/runtime/kernel/opencl/kernel/concat.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_BACKEND_OPENCL_CONCAT_H_ -#define MINDSPORE_LITE_SRC_BACKEND_OPENCL_CONCAT_H_ +#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_CONCAT_H_ +#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_CONCAT_H_ #include #include "ir/anf.h" diff --git a/mindspore/lite/src/runtime/kernel/opencl/kernel/conv2d_transpose.h b/mindspore/lite/src/runtime/kernel/opencl/kernel/conv2d_transpose.h index 901015def0fabd58399e18dc95a3852623b9ae1a..8f179669000f25843ee00920305ae2145eaf11aa 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/kernel/conv2d_transpose.h +++ b/mindspore/lite/src/runtime/kernel/opencl/kernel/conv2d_transpose.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_BACKEND_OPENCL_CONV2D_TRANSPOSE_H_ -#define MINDSPORE_LITE_SRC_BACKEND_OPENCL_CONV2D_TRANSPOSE_H_ +#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_CONV2D_TRANSPOSE_H_ +#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_CONV2D_TRANSPOSE_H_ #include @@ -47,4 +47,4 @@ class Conv2dTransposeOpenCLKernel : public OpenCLKernel { }; } // namespace mindspore::kernel -#endif // MINDSPORE_LITE_SRC_BACKEND_OPENCL_CONV2D_TRANSPOSE_H_ +#endif // MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_CONV2D_TRANSPOSE_H_ diff --git a/mindspore/lite/src/runtime/kernel/opencl/kernel/depthwise_conv2d.h b/mindspore/lite/src/runtime/kernel/opencl/kernel/depthwise_conv2d.h index 6564054483b6e480db6b28ebd3741cdf187688f7..9f5ae2e71700760454c25a94624308b078c727e3 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/kernel/depthwise_conv2d.h +++ b/mindspore/lite/src/runtime/kernel/opencl/kernel/depthwise_conv2d.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_BACKEND_OPENCL_DEPTHWISE_H_ -#define MINDSPORE_LITE_SRC_BACKEND_OPENCL_DEPTHWISE_H_ +#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_DEPTHWISE_H_ +#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_DEPTHWISE_H_ #include #include "src/runtime/kernel/opencl/opencl_kernel.h" @@ -51,4 +51,4 @@ class DepthwiseConv2dOpenCLKernel : public OpenCLKernel { }; } // namespace mindspore::kernel -#endif // MINDSPORE_LITE_SRC_BACKEND_OPENCL_DEPTHWISE_H_ +#endif // MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_DEPTHWISE_H_ diff --git a/mindspore/lite/src/runtime/kernel/opencl/kernel/matmul.h b/mindspore/lite/src/runtime/kernel/opencl/kernel/matmul.h index 55847d4d7651e7f9854ff735b7bbe49347975b22..7440382a09637125f4cf0b4e1f47939c07df8180 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/kernel/matmul.h +++ b/mindspore/lite/src/runtime/kernel/opencl/kernel/matmul.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_BACKEND_OPENCL_MATMUL_H_ -#define MINDSPORE_LITE_SRC_BACKEND_OPENCL_MATMUL_H_ +#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_MATMUL_H_ +#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_MATMUL_H_ #include @@ -51,4 +51,4 @@ class MatMulOpenCLKernel : public OpenCLKernel { }; } // namespace mindspore::kernel -#endif // MINDSPORE_LITE_SRC_BACKEND_OPENCL_MATMUL_H_ +#endif // MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_MATMUL_H_ diff --git a/mindspore/lite/src/runtime/kernel/opencl/kernel/pooling2d.h b/mindspore/lite/src/runtime/kernel/opencl/kernel/pooling2d.h index dcf0f0dd090bf0f3d93021bd7fe6b2cd78e87ac3..cd09842581c370cb19e58651cc609774aab1ed5d 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/kernel/pooling2d.h +++ b/mindspore/lite/src/runtime/kernel/opencl/kernel/pooling2d.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_BACKEND_OPENCL_POOLING_H_ -#define MINDSPORE_LITE_SRC_BACKEND_OPENCL_POOLING_H_ +#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_POOLING_H_ +#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_POOLING_H_ #include @@ -48,4 +48,4 @@ class PoolingOpenCLKernel : public OpenCLKernel { } // namespace mindspore::kernel -#endif // MINDSPORE_LITE_SRC_BACKEND_OPENCL_POOLING_H_ +#endif // MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_POOLING_H_ diff --git a/mindspore/lite/src/runtime/kernel/opencl/kernel/reshape.h b/mindspore/lite/src/runtime/kernel/opencl/kernel/reshape.h index 15fc8373810b45ad1667d6e6c3b0decfaa6da407..95ed49548c0cb9074ce240b04e4b356c17c885a8 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/kernel/reshape.h +++ b/mindspore/lite/src/runtime/kernel/opencl/kernel/reshape.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_BACKEND_OPENCL_RESHAPE_H_ -#define MINDSPORE_LITE_SRC_BACKEND_OPENCL_RESHAPE_H_ +#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_RESHAPE_H_ +#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_RESHAPE_H_ #include @@ -42,4 +42,4 @@ class ReshapeOpenCLKernel : public OpenCLKernel { }; } // namespace mindspore::kernel -#endif // MINDSPORE_LITE_SRC_BACKEND_OPENCL_RESHAPE_H_ +#endif // MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_RESHAPE_H_ diff --git a/mindspore/lite/src/runtime/kernel/opencl/kernel/slice.h b/mindspore/lite/src/runtime/kernel/opencl/kernel/slice.h index 2df3f3f3e1a83f70dd0f0fc185dcd74d075103fe..7a679e45934872b290cf09ab36f62a738905df7d 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/kernel/slice.h +++ b/mindspore/lite/src/runtime/kernel/opencl/kernel/slice.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_BACKEND_OPENCL_SLICE_H_ -#define MINDSPORE_LITE_SRC_BACKEND_OPENCL_SLICE_H_ +#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_SLICE_H_ +#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_SLICE_H_ #include #include "ir/anf.h" diff --git a/mindspore/lite/src/runtime/kernel/opencl/kernel/softmax.h b/mindspore/lite/src/runtime/kernel/opencl/kernel/softmax.h index 4fc789b58dac17a2d03cbab24cbf501a8cc36232..154e06057e260dd4ca701a796b570310ba5d9c19 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/kernel/softmax.h +++ b/mindspore/lite/src/runtime/kernel/opencl/kernel/softmax.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_BACKEND_OPENCL_SOFTMAX_H_ -#define MINDSPORE_LITE_SRC_BACKEND_OPENCL_SOFTMAX_H_ +#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_SOFTMAX_H_ +#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_SOFTMAX_H_ #include @@ -57,4 +57,4 @@ class SoftmaxOpenCLKernel : public OpenCLKernel { } // namespace mindspore::kernel -#endif // MINDSPORE_LITE_SRC_BACKEND_OPENCL_SOFTMAX_H_ +#endif // MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_SOFTMAX_H_ diff --git a/mindspore/lite/src/runtime/kernel/opencl/kernel/to_format.h b/mindspore/lite/src/runtime/kernel/opencl/kernel/to_format.h index febf17cd4de9041914e1b72b854d51abbe7ba056..3aeca11adbe4c96e251b9e79147de82d5df05eba 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/kernel/to_format.h +++ b/mindspore/lite/src/runtime/kernel/opencl/kernel/to_format.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_BACKEND_OPENCL_TO_FORMAT_H_ -#define MINDSPORE_LITE_SRC_BACKEND_OPENCL_TO_FORMAT_H_ +#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_TO_FORMAT_H_ +#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_TO_FORMAT_H_ #include @@ -45,4 +45,4 @@ class ToFormatOpenCLKernel : public OpenCLKernel { }; } // namespace mindspore::kernel -#endif // MINDSPORE_LITE_SRC_BACKEND_OPENCL_RESHAPE_H_ +#endif // MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_RESHAPE_H_ diff --git a/mindspore/lite/src/runtime/kernel/opencl/kernel/transpose.h b/mindspore/lite/src/runtime/kernel/opencl/kernel/transpose.h index 708acbfaae941188d8e3f728462ce5292a12561e..698ef9e73558a37c2499ae1c4e4e555fea08fd4e 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/kernel/transpose.h +++ b/mindspore/lite/src/runtime/kernel/opencl/kernel/transpose.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_BACKEND_OPENCL_TRANSPOSE_H_ -#define MINDSPORE_LITE_SRC_BACKEND_OPENCL_TRANSPOSE_H_ +#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_TRANSPOSE_H_ +#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_TRANSPOSE_H_ #include @@ -43,4 +43,4 @@ class TransposeOpenCLKernel : public OpenCLKernel { }; } // namespace mindspore::kernel -#endif // MINDSPORE_LITE_SRC_BACKEND_OPENCL_TRANSPOSE_H_ +#endif // MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_TRANSPOSE_H_ diff --git a/mindspore/lite/src/runtime/kernel/opencl/subgraph_opencl_kernel.h b/mindspore/lite/src/runtime/kernel/opencl/subgraph_opencl_kernel.h index 59e41af945840eefffdeb762f6516cbcaf5db079..19387a8cf50459e4ebed950add87e9d7efcbaa33 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/subgraph_opencl_kernel.h +++ b/mindspore/lite/src/runtime/kernel/opencl/subgraph_opencl_kernel.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_BACKEND_OPENCL_SUBGRAPH_OPENCL_KENEL_H_ -#define MINDSPORE_LITE_SRC_BACKEND_OPENCL_SUBGRAPH_OPENCL_KENEL_H_ +#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_SUBGRAPH_OPENCL_KENEL_H_ +#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_SUBGRAPH_OPENCL_KENEL_H_ #include #include "src/runtime/kernel/opencl/opencl_kernel.h" @@ -67,4 +67,4 @@ class SubGraphOpenCLKernel : public SubGraphKernel { }; } // namespace mindspore::kernel -#endif // MINDSPORE_LITE_SRC_BACKEND_OPENCL_SUBGRAPH_OPENCL_KERNEL_H_ +#endif // MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_SUBGRAPH_OPENCL_KERNEL_H_ diff --git a/mindspore/lite/src/runtime/kernel/opencl/utils.h b/mindspore/lite/src/runtime/kernel/opencl/utils.h index c498b65c3ff192c0a7773d101f6ecead0ce1fef0..699bf04430ac0424674a8dfc3a29830fe2073b98 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/utils.h +++ b/mindspore/lite/src/runtime/kernel/opencl/utils.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_BACKEND_OPENCL_UTILS_H_ -#define MINDSPORE_LITE_SRC_BACKEND_OPENCL_UTILS_H_ +#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_UTILS_H_ +#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_UTILS_H_ #include #include @@ -159,4 +159,4 @@ void PackNHWCToNC4HW4(void *src, void *dst, int batch, int plane, int channel, } // namespace mindspore::kernel -#endif // MINDSPORE_LITE_SRC_BACKEND_OPENCL_UTILS_H_ +#endif // MINDSPORE_LITE_SRC_RUNTIME_KERNEL_OPENCL_KERNEL_UTILS_H_