diff --git a/tt_npe/cpp/include/npeChart.hpp b/tt_npe/cpp/include/npeChart.hpp index 0828ea5..472791d 100644 --- a/tt_npe/cpp/include/npeChart.hpp +++ b/tt_npe/cpp/include/npeChart.hpp @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: © 2025 Tenstorrent AI ULC + #include #include diff --git a/tt_npe/cpp/src/npeStats.cpp b/tt_npe/cpp/src/npeStats.cpp index aad4683..8f5bd2d 100644 --- a/tt_npe/cpp/src/npeStats.cpp +++ b/tt_npe/cpp/src/npeStats.cpp @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: © 2025 Tenstorrent AI ULC + #include "npeStats.hpp" #include diff --git a/tt_npe/scripts/add_license.sh b/tt_npe/scripts/add_license.sh old mode 100644 new mode 100755 index 0d936d9..d5ef4a8 --- a/tt_npe/scripts/add_license.sh +++ b/tt_npe/scripts/add_license.sh @@ -1,12 +1,12 @@ read -r -d '' LICTEXT << 'END' -# SPDX-License-Identifier: Apache-2.0 -# SPDX-FileCopyrightText: © 2025 Tenstorrent AI ULC +// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: © 2025 Tenstorrent AI ULC END -for f in `find -name '*.*py'`; do +for f in $@; do printf "$LICTEXT\n\n" > tmp cat $f >> tmp echo $f - #diff tmp $f + diff tmp $f mv tmp $f done