From 2b2b8329b5ccfeedfec55d31ea21e6200a1dda13 Mon Sep 17 00:00:00 2001 From: Alysa Liu Date: Thu, 11 Sep 2025 10:56:31 -0400 Subject: [PATCH] rocr: Add copyright for new files (#886) Signed-off-by: Alysa Liu --- projects/rocr-runtime/libhsakmt/src/libhsakmt.c | 6 ++++++ projects/rocr-runtime/libhsakmt/tests/reopen/kmtreopen.c | 6 ++++++ projects/rocr-runtime/rocrtst/Kernels/read_kernel.cl | 5 +++++ projects/rocr-runtime/rocrtst/Kernels/write_kernel.cl | 7 ++++++- .../rocrtst/common/utils_test/utils_cpp11_gtest.cpp | 6 ++++++ .../rocrtst/common/utils_test/utils_timer_gtest.cpp | 6 +++++- .../rocrtst/common/utils_test/utils_timer_test.cpp | 7 ++++++- .../rocrtst/common/utils_test/utils_timer_test.hpp | 6 ++++++ .../rocr-runtime/rocrtst/samples/rocm_async/base_test.cpp | 6 ++++++ .../rocr-runtime/rocrtst/samples/rocm_async/base_test.hpp | 7 ++++++- .../rocr-runtime/rocrtst/samples/rocm_async/common.cpp | 6 ++++++ .../rocr-runtime/rocrtst/samples/rocm_async/common.hpp | 6 ++++++ .../rocr-runtime/rocrtst/samples/rocm_async/hsatimer.cpp | 6 ++++++ .../rocr-runtime/rocrtst/samples/rocm_async/hsatimer.hpp | 7 ++++++- projects/rocr-runtime/rocrtst/samples/rocm_async/main.cpp | 6 ++++++ projects/rocr-runtime/rocrtst/samples/rocm_async/os.cpp | 7 ++++++- projects/rocr-runtime/rocrtst/samples/rocm_async/os.hpp | 7 ++++++- .../rocr-runtime/rocrtst/samples/rocm_async/rocm_async.cpp | 7 ++++++- .../rocr-runtime/rocrtst/samples/rocm_async/rocm_async.hpp | 6 ++++++ .../rocrtst/samples/rocm_async/rocm_async_io.cpp | 7 ++++++- .../rocrtst/samples/rocm_async/rocm_async_parse.cpp | 6 ++++++ .../rocrtst/samples/rocm_async/rocm_async_print.cpp | 6 ++++++ .../rocrtst/samples/rocm_async/rocm_async_report.cpp | 6 ++++++ .../rocrtst/samples/rocm_async/rocm_async_topology.cpp | 6 ++++++ .../rocrtst/samples/rocm_async/rocm_async_trans.cpp | 6 ++++++ .../rocrtst/samples/rocm_async/rocm_async_validate.cpp | 7 ++++++- .../rocr-runtime/runtime/hsa-runtime/inc/hsa_amd_tool.h | 6 ++++++ projects/rocr-runtime/samples/GetInfo/get_info.cpp | 6 ++++++ projects/rocr-runtime/samples/GetInfo/get_info.h | 6 ++++++ projects/rocr-runtime/samples/common/common.cpp | 6 ++++++ projects/rocr-runtime/samples/common/common.hpp | 6 ++++++ projects/rocr-runtime/samples/common/common_utility.cpp | 6 ++++++ projects/rocr-runtime/samples/common/common_utility.h | 6 ++++++ projects/rocr-runtime/samples/common/hsa_base_util.cpp | 6 ++++++ projects/rocr-runtime/samples/common/hsa_base_util.h | 6 ++++++ projects/rocr-runtime/samples/common/hsa_perf_cntrs.cpp | 6 ++++++ projects/rocr-runtime/samples/common/hsa_perf_cntrs.hpp | 6 ++++++ projects/rocr-runtime/samples/common/hsa_rsrc_factory.cpp | 6 ++++++ projects/rocr-runtime/samples/common/hsa_rsrc_factory.hpp | 6 ++++++ projects/rocr-runtime/samples/common/hsa_test.cpp | 6 ++++++ projects/rocr-runtime/samples/common/hsa_test.h | 6 ++++++ projects/rocr-runtime/samples/common/hsatimer.cpp | 6 ++++++ projects/rocr-runtime/samples/common/hsatimer.h | 6 ++++++ projects/rocr-runtime/samples/common/os.cpp | 6 ++++++ projects/rocr-runtime/samples/common/os.h | 6 ++++++ projects/rocr-runtime/samples/common/utilities.cpp | 6 ++++++ projects/rocr-runtime/samples/common/utilities.h | 6 ++++++ 47 files changed, 280 insertions(+), 10 deletions(-) diff --git a/projects/rocr-runtime/libhsakmt/src/libhsakmt.c b/projects/rocr-runtime/libhsakmt/src/libhsakmt.c index 2f2f2990fc..b658e7d48e 100644 --- a/projects/rocr-runtime/libhsakmt/src/libhsakmt.c +++ b/projects/rocr-runtime/libhsakmt/src/libhsakmt.c @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include #include #include diff --git a/projects/rocr-runtime/libhsakmt/tests/reopen/kmtreopen.c b/projects/rocr-runtime/libhsakmt/tests/reopen/kmtreopen.c index 1f6332767a..a043f58439 100644 --- a/projects/rocr-runtime/libhsakmt/tests/reopen/kmtreopen.c +++ b/projects/rocr-runtime/libhsakmt/tests/reopen/kmtreopen.c @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include #include #include diff --git a/projects/rocr-runtime/rocrtst/Kernels/read_kernel.cl b/projects/rocr-runtime/rocrtst/Kernels/read_kernel.cl index c4e418e2df..cd709a8343 100644 --- a/projects/rocr-runtime/rocrtst/Kernels/read_kernel.cl +++ b/projects/rocr-runtime/rocrtst/Kernels/read_kernel.cl @@ -1,3 +1,8 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ /** * @brief Opencl kernel to read from a buffer and sum its values diff --git a/projects/rocr-runtime/rocrtst/Kernels/write_kernel.cl b/projects/rocr-runtime/rocrtst/Kernels/write_kernel.cl index e223e43ac9..21a27f8d52 100644 --- a/projects/rocr-runtime/rocrtst/Kernels/write_kernel.cl +++ b/projects/rocr-runtime/rocrtst/Kernels/write_kernel.cl @@ -1,4 +1,9 @@ - +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + /** * @brief Opencl kernel to write into a buffer the values of const integer list * diff --git a/projects/rocr-runtime/rocrtst/common/utils_test/utils_cpp11_gtest.cpp b/projects/rocr-runtime/rocrtst/common/utils_test/utils_cpp11_gtest.cpp index 886e9dc36b..abeeb0b1fb 100644 --- a/projects/rocr-runtime/rocrtst/common/utils_test/utils_cpp11_gtest.cpp +++ b/projects/rocr-runtime/rocrtst/common/utils_test/utils_cpp11_gtest.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include #include #include"gtest/gtest.h" diff --git a/projects/rocr-runtime/rocrtst/common/utils_test/utils_timer_gtest.cpp b/projects/rocr-runtime/rocrtst/common/utils_test/utils_timer_gtest.cpp index 5baa5fcece..816abc7d33 100644 --- a/projects/rocr-runtime/rocrtst/common/utils_test/utils_timer_gtest.cpp +++ b/projects/rocr-runtime/rocrtst/common/utils_test/utils_timer_gtest.cpp @@ -1,4 +1,8 @@ - +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ #include diff --git a/projects/rocr-runtime/rocrtst/common/utils_test/utils_timer_test.cpp b/projects/rocr-runtime/rocrtst/common/utils_test/utils_timer_test.cpp index 3953e00977..9a9e976bd1 100644 --- a/projects/rocr-runtime/rocrtst/common/utils_test/utils_timer_test.cpp +++ b/projects/rocr-runtime/rocrtst/common/utils_test/utils_timer_test.cpp @@ -1,4 +1,9 @@ - +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include #include "hsatimer.h" #include diff --git a/projects/rocr-runtime/rocrtst/common/utils_test/utils_timer_test.hpp b/projects/rocr-runtime/rocrtst/common/utils_test/utils_timer_test.hpp index 34fb59b4d4..90a8a15a21 100644 --- a/projects/rocr-runtime/rocrtst/common/utils_test/utils_timer_test.hpp +++ b/projects/rocr-runtime/rocrtst/common/utils_test/utils_timer_test.hpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifndef ROCRTST_UTILS_TIMER_TEST_H_ #define ROCRTST_UTILS_TIMER_TEST_H_ diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/base_test.cpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/base_test.cpp index 3213a920a9..ae5ba5349d 100644 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/base_test.cpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/base_test.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "base_test.hpp" // Default Constructor diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/base_test.hpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/base_test.hpp index a268270c3e..e5e6d6bb2a 100644 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/base_test.hpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/base_test.hpp @@ -1,4 +1,9 @@ - +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifndef ROCM_ASYNC_BW_BASE_TEST_H_ #define ROCM_ASYNC_BW_BASE_TEST_H_ diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/common.cpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/common.cpp index 7e92a2ef54..09e55ca412 100644 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/common.cpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/common.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "common.hpp" void error_check(hsa_status_t hsa_error_code, int line_num, const char* str) { diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/common.hpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/common.hpp index c0a42180dd..fbd38acb2b 100644 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/common.hpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/common.hpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifndef ROCM_ASYNC_BW_COMMON_HPP #define ROCM_ASYNC_BW_COMMON_HPP diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/hsatimer.cpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/hsatimer.cpp index bdb9b182eb..178113a815 100644 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/hsatimer.cpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/hsatimer.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "hsatimer.hpp" #define NANOSECONDS_PER_SECOND 1000000000 diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/hsatimer.hpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/hsatimer.hpp index 974efaa2bb..d3362f41ee 100644 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/hsatimer.hpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/hsatimer.hpp @@ -1,4 +1,9 @@ - +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifndef ROCM_ASYNC_BW_MYTIME_H_ #define ROCM_ASYNC_BW_MYTIME_H_ diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/main.cpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/main.cpp index 1c2a4c7889..c2771c833f 100644 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/main.cpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/main.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include #include #include "hsatimer.hpp" diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/os.cpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/os.cpp index e83f5087fe..33eec1a6b0 100644 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/os.cpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/os.cpp @@ -1,4 +1,9 @@ - +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + // Compiling for Windows Platform #ifdef _WIN32 diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/os.hpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/os.hpp index 3b8607f507..c5b1562dbe 100755 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/os.hpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/os.hpp @@ -1,4 +1,9 @@ - +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifndef ROCM_ASYNC_BW_UTILS_OS_H_ #define ROCM_ASYNC_BW_UTILS_OS_H_ diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async.cpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async.cpp index 66cd285b7c..1414b2df91 100755 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async.cpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async.cpp @@ -1,4 +1,9 @@ - +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "common.hpp" #include "rocm_async.hpp" diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async.hpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async.hpp index afb835ece2..e4efb693f8 100644 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async.hpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async.hpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifndef __ROCM_ASYNC_BW_H__ #define __ROCM_ASYNC_BW_H__ diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_io.cpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_io.cpp index c4b0eb97b6..fc94d7da53 100644 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_io.cpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_io.cpp @@ -1,4 +1,9 @@ - +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "common.hpp" #include "rocm_async.hpp" diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_parse.cpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_parse.cpp index 9f53cfce11..1a88bc83ce 100755 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_parse.cpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_parse.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "common.hpp" #include "rocm_async.hpp" diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_print.cpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_print.cpp index 95c0d5f176..0227febe6f 100755 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_print.cpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_print.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "common.hpp" #include "rocm_async.hpp" diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_report.cpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_report.cpp index 251515efe8..c91fcbe6c5 100755 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_report.cpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_report.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "common.hpp" #include "rocm_async.hpp" diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_topology.cpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_topology.cpp index 69f9a5d729..df2b9bf3bb 100755 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_topology.cpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_topology.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "common.hpp" #include "rocm_async.hpp" diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_trans.cpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_trans.cpp index 76a13c556a..eff502942b 100755 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_trans.cpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_trans.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "common.hpp" #include "rocm_async.hpp" diff --git a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_validate.cpp b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_validate.cpp index e0f9da75dc..3e819bf8d6 100644 --- a/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_validate.cpp +++ b/projects/rocr-runtime/rocrtst/samples/rocm_async/rocm_async_validate.cpp @@ -1,4 +1,9 @@ - +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "common.hpp" #include "rocm_async.hpp" diff --git a/projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_amd_tool.h b/projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_amd_tool.h index fa9cac804a..22847a8a44 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_amd_tool.h +++ b/projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_amd_tool.h @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifndef HSA_RUNTIME_AMD_TOOL_EVENTS_H_ #define HSA_RUNTIME_AMD_TOOL_EVENTS_H_ diff --git a/projects/rocr-runtime/samples/GetInfo/get_info.cpp b/projects/rocr-runtime/samples/GetInfo/get_info.cpp index fe5e4a04a7..c77171acc5 100644 --- a/projects/rocr-runtime/samples/GetInfo/get_info.cpp +++ b/projects/rocr-runtime/samples/GetInfo/get_info.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "get_info.h" #include diff --git a/projects/rocr-runtime/samples/GetInfo/get_info.h b/projects/rocr-runtime/samples/GetInfo/get_info.h index 23b6b2d869..8d3ca421e6 100644 --- a/projects/rocr-runtime/samples/GetInfo/get_info.h +++ b/projects/rocr-runtime/samples/GetInfo/get_info.h @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifndef GET_INFO_H #define GET_INFO_H diff --git a/projects/rocr-runtime/samples/common/common.cpp b/projects/rocr-runtime/samples/common/common.cpp index c89036fbf5..c0980fb8a1 100644 --- a/projects/rocr-runtime/samples/common/common.cpp +++ b/projects/rocr-runtime/samples/common/common.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "common.hpp" void ErrorCheck(hsa_status_t hsa_error_code) { diff --git a/projects/rocr-runtime/samples/common/common.hpp b/projects/rocr-runtime/samples/common/common.hpp index 4596877823..24925fa599 100644 --- a/projects/rocr-runtime/samples/common/common.hpp +++ b/projects/rocr-runtime/samples/common/common.hpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifndef COMMON_COMMON_HPP #define COMMON_COMMON_HPP diff --git a/projects/rocr-runtime/samples/common/common_utility.cpp b/projects/rocr-runtime/samples/common/common_utility.cpp index 9b1482be13..1474657b1a 100644 --- a/projects/rocr-runtime/samples/common/common_utility.cpp +++ b/projects/rocr-runtime/samples/common/common_utility.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "common_utility.h" diff --git a/projects/rocr-runtime/samples/common/common_utility.h b/projects/rocr-runtime/samples/common/common_utility.h index e3510ebd60..17948d3fd3 100644 --- a/projects/rocr-runtime/samples/common/common_utility.h +++ b/projects/rocr-runtime/samples/common/common_utility.h @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include #include #include diff --git a/projects/rocr-runtime/samples/common/hsa_base_util.cpp b/projects/rocr-runtime/samples/common/hsa_base_util.cpp index 001546b53d..bd2d9ee55f 100644 --- a/projects/rocr-runtime/samples/common/hsa_base_util.cpp +++ b/projects/rocr-runtime/samples/common/hsa_base_util.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "hsa_base_util.h" #include "HSAILAmdExt.h" diff --git a/projects/rocr-runtime/samples/common/hsa_base_util.h b/projects/rocr-runtime/samples/common/hsa_base_util.h index 807899cbc4..dbf40a06e4 100644 --- a/projects/rocr-runtime/samples/common/hsa_base_util.h +++ b/projects/rocr-runtime/samples/common/hsa_base_util.h @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifndef __HSA_BASE__ #define __HSA_BASE__ diff --git a/projects/rocr-runtime/samples/common/hsa_perf_cntrs.cpp b/projects/rocr-runtime/samples/common/hsa_perf_cntrs.cpp index a4b8e2df63..be1c8f7407 100644 --- a/projects/rocr-runtime/samples/common/hsa_perf_cntrs.cpp +++ b/projects/rocr-runtime/samples/common/hsa_perf_cntrs.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include #include #include diff --git a/projects/rocr-runtime/samples/common/hsa_perf_cntrs.hpp b/projects/rocr-runtime/samples/common/hsa_perf_cntrs.hpp index ee3c68d527..b01ac6a59e 100644 --- a/projects/rocr-runtime/samples/common/hsa_perf_cntrs.hpp +++ b/projects/rocr-runtime/samples/common/hsa_perf_cntrs.hpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifndef ROCR_PERF_CNTR_APP_H_ #define ROCR_PERF_CNTR_APP_H_ diff --git a/projects/rocr-runtime/samples/common/hsa_rsrc_factory.cpp b/projects/rocr-runtime/samples/common/hsa_rsrc_factory.cpp index f7f0a9208c..57eb457ee9 100755 --- a/projects/rocr-runtime/samples/common/hsa_rsrc_factory.cpp +++ b/projects/rocr-runtime/samples/common/hsa_rsrc_factory.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include #include #include diff --git a/projects/rocr-runtime/samples/common/hsa_rsrc_factory.hpp b/projects/rocr-runtime/samples/common/hsa_rsrc_factory.hpp index 879576bc8f..a57981ed72 100755 --- a/projects/rocr-runtime/samples/common/hsa_rsrc_factory.hpp +++ b/projects/rocr-runtime/samples/common/hsa_rsrc_factory.hpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifndef HSA_RSRC_FACTORY_H_ #define HSA_RSRC_FACTORY_H_ diff --git a/projects/rocr-runtime/samples/common/hsa_test.cpp b/projects/rocr-runtime/samples/common/hsa_test.cpp index 52f99d32b5..1250a12df7 100644 --- a/projects/rocr-runtime/samples/common/hsa_test.cpp +++ b/projects/rocr-runtime/samples/common/hsa_test.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "hsa_test.h" #include diff --git a/projects/rocr-runtime/samples/common/hsa_test.h b/projects/rocr-runtime/samples/common/hsa_test.h index 8fd34ab22a..b251e1839e 100644 --- a/projects/rocr-runtime/samples/common/hsa_test.h +++ b/projects/rocr-runtime/samples/common/hsa_test.h @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifndef HSA_TEST_H #define HSA_TEST_H diff --git a/projects/rocr-runtime/samples/common/hsatimer.cpp b/projects/rocr-runtime/samples/common/hsatimer.cpp index 1ce6726d35..dbacdba2f7 100644 --- a/projects/rocr-runtime/samples/common/hsatimer.cpp +++ b/projects/rocr-runtime/samples/common/hsatimer.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "hsatimer.h" PerfTimer::PerfTimer() diff --git a/projects/rocr-runtime/samples/common/hsatimer.h b/projects/rocr-runtime/samples/common/hsatimer.h index 2b7de9ed7e..fb6ae8b3e6 100644 --- a/projects/rocr-runtime/samples/common/hsatimer.h +++ b/projects/rocr-runtime/samples/common/hsatimer.h @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifndef __MYTIME__ #define __MYTIME__ diff --git a/projects/rocr-runtime/samples/common/os.cpp b/projects/rocr-runtime/samples/common/os.cpp index 3d64d3ba29..81e0809af8 100755 --- a/projects/rocr-runtime/samples/common/os.cpp +++ b/projects/rocr-runtime/samples/common/os.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifdef _WIN32 // Compiling for Windows Platform #include diff --git a/projects/rocr-runtime/samples/common/os.h b/projects/rocr-runtime/samples/common/os.h index ded5ad88f5..27e1e5e6f7 100755 --- a/projects/rocr-runtime/samples/common/os.h +++ b/projects/rocr-runtime/samples/common/os.h @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifndef HSA_PERF_SRC_UTILS_OS_H_ #define HSA_PERF_SRC_UTILS_OS_H_ diff --git a/projects/rocr-runtime/samples/common/utilities.cpp b/projects/rocr-runtime/samples/common/utilities.cpp index 6ffbbc213c..efa39671fd 100644 --- a/projects/rocr-runtime/samples/common/utilities.cpp +++ b/projects/rocr-runtime/samples/common/utilities.cpp @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #include "utilities.h" /* diff --git a/projects/rocr-runtime/samples/common/utilities.h b/projects/rocr-runtime/samples/common/utilities.h index 5d08a7c7fd..16f1bdf642 100644 --- a/projects/rocr-runtime/samples/common/utilities.h +++ b/projects/rocr-runtime/samples/common/utilities.h @@ -1,3 +1,9 @@ +/* + * Copyright © Advanced Micro Devices, Inc., or its affiliates. + * + * SPDX-License-Identifier: MIT + */ + #ifndef __HSA_UTILITY__ #define __HSA_UTILITY__