From 654a6f7dba49941c425ac3255cf2d7758e6d13cb Mon Sep 17 00:00:00 2001 From: eddierichter-amd Date: Mon, 15 Apr 2024 10:20:14 -0600 Subject: [PATCH] Fixing test headers (#1243) --- .../basic/add_one_objFifo_no_mem_tile/test_vck5000.cpp | 10 ++++++---- programming_examples/basic/eltwise_mul/test.py | 8 +++++--- .../basic/matrix_add_one/test_vck5000.cpp | 10 ++++++---- programming_examples/basic/vector_add/test_vck5000.cpp | 10 ++++++---- programming_examples/basic/vector_max/test_vck5000.cpp | 10 ++++++---- programming_examples/basic/vector_min/test_vck5000.cpp | 10 ++++++---- .../basic/vector_mult/test_vck5000.cpp | 10 ++++++---- .../basic/vector_scalar/test_vck5000.cpp | 10 ++++++---- programming_examples/basic/vector_sum/test_vck5000.cpp | 10 ++++++---- 9 files changed, 53 insertions(+), 35 deletions(-) diff --git a/programming_examples/basic/add_one_objFifo_no_mem_tile/test_vck5000.cpp b/programming_examples/basic/add_one_objFifo_no_mem_tile/test_vck5000.cpp index b18e106374..12c0dbe675 100644 --- a/programming_examples/basic/add_one_objFifo_no_mem_tile/test_vck5000.cpp +++ b/programming_examples/basic/add_one_objFifo_no_mem_tile/test_vck5000.cpp @@ -1,8 +1,10 @@ -//===- test.cpp -------------------------------------------------*- C++ -*-===// +//===- test_vck5000.cpp -----------------------------------000---*- C++ -*-===// // -// Copyright (C) 2020-2022, Xilinx Inc. -// Copyright (C) 2022, Advanced Micro Devices, Inc. -// SPDX-License-Identifier: MIT +// 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 +// +// Copyright (C) 2024, Advanced Micro Devices, Inc. // //===----------------------------------------------------------------------===// diff --git a/programming_examples/basic/eltwise_mul/test.py b/programming_examples/basic/eltwise_mul/test.py index cc132020d9..1e9b9a4070 100644 --- a/programming_examples/basic/eltwise_mul/test.py +++ b/programming_examples/basic/eltwise_mul/test.py @@ -1,7 +1,9 @@ -# test.py -*- Python -*- # -# Copyright (C) 2024, Advanced Micro Devices, Inc. All rights reserved. -# SPDX-License-Identifier: MIT +# 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 +# +# (c) Copyright 2024 AMD Inc. # import argparse import numpy as np diff --git a/programming_examples/basic/matrix_add_one/test_vck5000.cpp b/programming_examples/basic/matrix_add_one/test_vck5000.cpp index c9af3457fb..73da4d4232 100644 --- a/programming_examples/basic/matrix_add_one/test_vck5000.cpp +++ b/programming_examples/basic/matrix_add_one/test_vck5000.cpp @@ -1,8 +1,10 @@ -//===- test.cpp -------------------------------------------------*- C++ -*-===// +//===- test_vck5000.cpp -----------------------------------000---*- C++ -*-===// // -// Copyright (C) 2020-2022, Xilinx Inc. -// Copyright (C) 2022, Advanced Micro Devices, Inc. -// SPDX-License-Identifier: MIT +// 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 +// +// Copyright (C) 2024, Advanced Micro Devices, Inc. // //===----------------------------------------------------------------------===// diff --git a/programming_examples/basic/vector_add/test_vck5000.cpp b/programming_examples/basic/vector_add/test_vck5000.cpp index 5ff3c7362c..aa38abfa13 100644 --- a/programming_examples/basic/vector_add/test_vck5000.cpp +++ b/programming_examples/basic/vector_add/test_vck5000.cpp @@ -1,8 +1,10 @@ -//===- test.cpp -------------------------------------------------*- C++ -*-===// +//===- test_vck5000.cpp -----------------------------------000---*- C++ -*-===// // -// Copyright (C) 2020-2022, Xilinx Inc. -// Copyright (C) 2022, Advanced Micro Devices, Inc. -// SPDX-License-Identifier: MIT +// 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 +// +// Copyright (C) 2024, Advanced Micro Devices, Inc. // //===----------------------------------------------------------------------===// diff --git a/programming_examples/basic/vector_max/test_vck5000.cpp b/programming_examples/basic/vector_max/test_vck5000.cpp index 25de4c7823..40805520cf 100644 --- a/programming_examples/basic/vector_max/test_vck5000.cpp +++ b/programming_examples/basic/vector_max/test_vck5000.cpp @@ -1,8 +1,10 @@ -//===- test.cpp -------------------------------------------------*- C++ -*-===// +//===- test_vck5000.cpp -----------------------------------000---*- C++ -*-===// // -// Copyright (C) 2020-2022, Xilinx Inc. -// Copyright (C) 2022, Advanced Micro Devices, Inc. -// SPDX-License-Identifier: MIT +// 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 +// +// Copyright (C) 2024, Advanced Micro Devices, Inc. // //===----------------------------------------------------------------------===// diff --git a/programming_examples/basic/vector_min/test_vck5000.cpp b/programming_examples/basic/vector_min/test_vck5000.cpp index 3705d39139..d143c329b7 100644 --- a/programming_examples/basic/vector_min/test_vck5000.cpp +++ b/programming_examples/basic/vector_min/test_vck5000.cpp @@ -1,8 +1,10 @@ -//===- test.cpp -------------------------------------------------*- C++ -*-===// +//===- test_vck5000.cpp -----------------------------------000---*- C++ -*-===// // -// Copyright (C) 2020-2022, Xilinx Inc. -// Copyright (C) 2022, Advanced Micro Devices, Inc. -// SPDX-License-Identifier: MIT +// 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 +// +// Copyright (C) 2024, Advanced Micro Devices, Inc. // //===----------------------------------------------------------------------===// diff --git a/programming_examples/basic/vector_mult/test_vck5000.cpp b/programming_examples/basic/vector_mult/test_vck5000.cpp index 3bc94dec79..20d8f0e414 100644 --- a/programming_examples/basic/vector_mult/test_vck5000.cpp +++ b/programming_examples/basic/vector_mult/test_vck5000.cpp @@ -1,8 +1,10 @@ -//===- test.cpp -------------------------------------------------*- C++ -*-===// +//===- test_vck5000.cpp -----------------------------------000---*- C++ -*-===// // -// Copyright (C) 2020-2022, Xilinx Inc. -// Copyright (C) 2022, Advanced Micro Devices, Inc. -// SPDX-License-Identifier: MIT +// 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 +// +// Copyright (C) 2024, Advanced Micro Devices, Inc. // //===----------------------------------------------------------------------===// diff --git a/programming_examples/basic/vector_scalar/test_vck5000.cpp b/programming_examples/basic/vector_scalar/test_vck5000.cpp index 6a813e95fb..7fcb2dc1d3 100644 --- a/programming_examples/basic/vector_scalar/test_vck5000.cpp +++ b/programming_examples/basic/vector_scalar/test_vck5000.cpp @@ -1,8 +1,10 @@ -//===- test.cpp -------------------------------------------------*- C++ -*-===// +//===- test_vck5000.cpp -----------------------------------000---*- C++ -*-===// // -// Copyright (C) 2020-2022, Xilinx Inc. -// Copyright (C) 2022, Advanced Micro Devices, Inc. -// SPDX-License-Identifier: MIT +// 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 +// +// Copyright (C) 2024, Advanced Micro Devices, Inc. // //===----------------------------------------------------------------------===// diff --git a/programming_examples/basic/vector_sum/test_vck5000.cpp b/programming_examples/basic/vector_sum/test_vck5000.cpp index 169ee3876a..aad99cf82d 100644 --- a/programming_examples/basic/vector_sum/test_vck5000.cpp +++ b/programming_examples/basic/vector_sum/test_vck5000.cpp @@ -1,8 +1,10 @@ -//===- test.cpp -------------------------------------------------*- C++ -*-===// +//===- test_vck5000.cpp -----------------------------------000---*- C++ -*-===// // -// Copyright (C) 2020-2022, Xilinx Inc. -// Copyright (C) 2022, Advanced Micro Devices, Inc. -// SPDX-License-Identifier: MIT +// 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 +// +// Copyright (C) 2024, Advanced Micro Devices, Inc. // //===----------------------------------------------------------------------===//