Skip to content

Commit

Permalink
Add copyright headers to all py
Browse files Browse the repository at this point in the history
  • Loading branch information
RattataKing committed Aug 13, 2024
1 parent e9e5d0f commit 1a62409
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 5 deletions.
6 changes: 5 additions & 1 deletion tuning/autotune.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env python3
# Copyright 2024 Advanced Micro Devices, Inc
#
# 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

import sys
import shutil
Expand Down
6 changes: 5 additions & 1 deletion tuning/evaluate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#! /usr/bin/env python3
# Copyright 2024 Advanced Micro Devices, Inc
#
# 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

import argparse
import numpy as np
Expand Down
7 changes: 6 additions & 1 deletion tuning/gen_matrices.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#! /usr/bin/env python3
# Copyright 2024 Advanced Micro Devices, Inc
#
# 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

import numpy as np
from argparse import ArgumentParser

Expand Down
6 changes: 5 additions & 1 deletion tuning/generate_tuning_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env python3
# Copyright 2024 Advanced Micro Devices, Inc
#
# 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

# Given an input tuning spec, generates the config files used by the tuner.

Expand Down
6 changes: 6 additions & 0 deletions tuning/test_autotune.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 2024 Advanced Micro Devices, Inc
#
# 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

import argparse
import pytest
from unittest.mock import call, patch, MagicMock
Expand Down
6 changes: 6 additions & 0 deletions tuning/test_tune.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 2024 Advanced Micro Devices, Inc
#
# 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

import pytest
import tune

Expand Down
6 changes: 5 additions & 1 deletion tuning/tune.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env python3
# Copyright 2024 Advanced Micro Devices, Inc
#
# 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

# Given an input dispatch, this code modifies the hyperparameters
# in the code and runs it.
Expand Down

0 comments on commit 1a62409

Please sign in to comment.