diff --git a/include/gc_version.h b/include/gc_version.h index 961167551..e2172a2e0 100644 --- a/include/gc_version.h +++ b/include/gc_version.h @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2024 Intel Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions + * and limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #ifndef GC_VERSION_H #define GC_VERSION_H diff --git a/lib/gc/Dialect/Linalgx/LinalgxDialect.cpp b/lib/gc/Dialect/Linalgx/LinalgxDialect.cpp index e2267f609..fb8f3886d 100644 --- a/lib/gc/Dialect/Linalgx/LinalgxDialect.cpp +++ b/lib/gc/Dialect/Linalgx/LinalgxDialect.cpp @@ -1,4 +1,4 @@ -//===- LinalgxDialect.h - linalgx dialect -----------------------*- C++ -*-===// +//===-- LinalgxDialect.cpp - linalgx dialect --------------------*- C++ -*-===// // // This file is licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/lib/gc/Dialect/Linalgx/LinalgxOps.cpp b/lib/gc/Dialect/Linalgx/LinalgxOps.cpp index 9c57a2973..54d0b22a2 100644 --- a/lib/gc/Dialect/Linalgx/LinalgxOps.cpp +++ b/lib/gc/Dialect/Linalgx/LinalgxOps.cpp @@ -1,4 +1,4 @@ -//===- LinalgxOps.h - linalgx dialect ops -----------------------*- C++ -*-===// +//===-- LinalgxOps.cpp - linalgx dialect ops --------------------*- C++ -*-===// // // This file is licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/lib/gc/Dialect/Microkernel/MicrokernelDialect.cpp b/lib/gc/Dialect/Microkernel/MicrokernelDialect.cpp index 7d3da6b45..d4857e87a 100644 --- a/lib/gc/Dialect/Microkernel/MicrokernelDialect.cpp +++ b/lib/gc/Dialect/Microkernel/MicrokernelDialect.cpp @@ -1,4 +1,4 @@ -//===- MicrokernelDialect.h - microkernel dialect ---------------*- C++ -*-===// +//===-- MicrokernelDialect.cpp - microkernel dialect ------------*- C++ -*-===// // // This file is licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/lib/gc/Dialect/Microkernel/MicrokernelOps.cpp b/lib/gc/Dialect/Microkernel/MicrokernelOps.cpp index 9b9200e93..45bc5719f 100644 --- a/lib/gc/Dialect/Microkernel/MicrokernelOps.cpp +++ b/lib/gc/Dialect/Microkernel/MicrokernelOps.cpp @@ -1,4 +1,4 @@ -//===- MicrokernelOps.h - microkernel dialect ops ---------------*- C++ -*-===// +//===-- MicrokernelOps.cpp - microkernel dialect ops ------------*- C++ -*-===// // // This file is licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/lib/gc/Dialect/OneDNNGraph/OneDNNGraphDialect.cpp b/lib/gc/Dialect/OneDNNGraph/OneDNNGraphDialect.cpp index 7529e04fc..b9f2e17a4 100644 --- a/lib/gc/Dialect/OneDNNGraph/OneDNNGraphDialect.cpp +++ b/lib/gc/Dialect/OneDNNGraph/OneDNNGraphDialect.cpp @@ -1,4 +1,4 @@ -//===- OneDNNGraphDialect.h - OneDNN input dialect --------------*- C++ -*-===// +//===-- OneDNNGraphDialect.cpp - OneDNN input dialect -----------*- C++ -*-===// // // This file is licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/lib/gc/Dialect/OneDNNGraph/OneDNNGraphOps.cpp b/lib/gc/Dialect/OneDNNGraph/OneDNNGraphOps.cpp index 0519ca8f3..963273be9 100644 --- a/lib/gc/Dialect/OneDNNGraph/OneDNNGraphOps.cpp +++ b/lib/gc/Dialect/OneDNNGraph/OneDNNGraphOps.cpp @@ -1,4 +1,4 @@ -//===- OneDNNGraphOps.h - OneDNN input dialect ops --------------*- C++ -*-===// +//===-- OneDNNGraphOps.cpp - OneDNN input dialect ops -----------*- C++ -*-===// // // This file is licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/lib/gc/Transforms/OneDNNGraphToLinalg.cpp b/lib/gc/Transforms/OneDNNGraphToLinalg.cpp index c115b42c2..f36705afe 100644 --- a/lib/gc/Transforms/OneDNNGraphToLinalg.cpp +++ b/lib/gc/Transforms/OneDNNGraphToLinalg.cpp @@ -1,5 +1,4 @@ -//===- OneDNNGraphToLinalg.cpp - OneDNN Graph To Linalg Lowering --*- C++ -*-=// -//-*-===// +//===- OneDNNGraphToLinalg.cpp - OneDNNGraph To Linalg Lowering -*- C++ -*-===// // // This file is licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/lib/gc/Transforms/TileNamed.cpp b/lib/gc/Transforms/TileNamed.cpp index 7d0e8c531..43348685d 100644 --- a/lib/gc/Transforms/TileNamed.cpp +++ b/lib/gc/Transforms/TileNamed.cpp @@ -1,4 +1,4 @@ -//===- TileNamed.cpp - Tile Named Linalg Ops --------------------*- C++ -*-===// +//===-- TileNamed.cpp - Tile Named Linalg Ops -------------------*- C++ -*-===// // // This file is licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/test/dnnl/dnnl_test_utils.hpp b/test/dnnl/dnnl_test_utils.hpp index 95824024c..04d9f9867 100644 --- a/test/dnnl/dnnl_test_utils.hpp +++ b/test/dnnl/dnnl_test_utils.hpp @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2024 Intel Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions + * and limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/test/dnnl/test_dnnl_c_interface.cpp b/test/dnnl/test_dnnl_c_interface.cpp index 28106f94d..3df04bb03 100644 --- a/test/dnnl/test_dnnl_c_interface.cpp +++ b/test/dnnl/test_dnnl_c_interface.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2024 Intel Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions + * and limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "dnnl_graph_compiler.h" #include "dnnl_test_utils.hpp" #include "gc_version.h" diff --git a/unittests/Example/Example.cpp b/unittests/Example/Example.cpp index 72ed5bade..d788ba4ec 100644 --- a/unittests/Example/Example.cpp +++ b/unittests/Example/Example.cpp @@ -1,6 +1,6 @@ -//===- Example.cpp - Tests for Example ------------------------------------===// +//===-- Example.cpp - Tests for Example -------------------------*- C++ -*-===// // -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// This file is licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception //