Skip to content

Commit

Permalink
[tests] add missing license for external lib
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin authored and sequencer committed Aug 27, 2024
1 parent 27ddd96 commit a28eaca
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/pytorch/include/img.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
//===----------------------------------------------------------------------===//
//
// original source from https://github.com/buddy-compiler/buddy-mlir
// Modified for embedded environment.
//
//===----------------------------------------------------------------------===//

#ifndef IMG_H
#define IMG_H
Expand Down
21 changes: 21 additions & 0 deletions tests/pytorch/include/memref.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
//===- ImgContainer.h -----------------------------------------------------===//
//
// 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.
//
//===----------------------------------------------------------------------===//
//
// Original source from https://github.com/buddy-compiler/buddy-mlir.
// Modified for embedded environment.
//
//===----------------------------------------------------------------------===//

#ifndef MEMREF_H
#define MEMREF_H

Expand Down
12 changes: 12 additions & 0 deletions tests/pytorch/lib/MemrefCopy.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===- CRunnerUtils.cpp - Utils for MLIR execution ------------------------===//
//
// Part of the LLVM Project, 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
//
//===----------------------------------------------------------------------===//
//
// Modified to basic data type for linkage usage only.
//
//===----------------------------------------------------------------------===//

#include <stdint.h>
#include <stdlib.h>
#include <string.h>
Expand Down

0 comments on commit a28eaca

Please sign in to comment.