Skip to content

Commit

Permalink
license: fix license problem
Browse files Browse the repository at this point in the history
  • Loading branch information
WangJialei-A committed May 21, 2024
1 parent 35929e4 commit 72abd7a
Show file tree
Hide file tree
Showing 12 changed files with 64 additions and 11 deletions.
18 changes: 18 additions & 0 deletions include/gc_version.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/gc/Dialect/Linalgx/LinalgxDialect.cpp
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/gc/Dialect/Linalgx/LinalgxOps.cpp
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/gc/Dialect/Microkernel/MicrokernelDialect.cpp
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/gc/Dialect/Microkernel/MicrokernelOps.cpp
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/gc/Dialect/OneDNNGraph/OneDNNGraphDialect.cpp
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/gc/Dialect/OneDNNGraph/OneDNNGraphOps.cpp
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 1 addition & 2 deletions lib/gc/Transforms/OneDNNGraphToLinalg.cpp
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/gc/Transforms/TileNamed.cpp
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
18 changes: 18 additions & 0 deletions test/dnnl/dnnl_test_utils.hpp
Original file line number Diff line number Diff line change
@@ -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 <filesystem>
#include <fstream>
#include <sstream>
Expand Down
18 changes: 18 additions & 0 deletions test/dnnl/test_dnnl_c_interface.cpp
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions unittests/Example/Example.cpp
Original file line number Diff line number Diff line change
@@ -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
//
Expand Down

0 comments on commit 72abd7a

Please sign in to comment.