mirror of
https://github.com/amd/blis.git
synced 2026-04-20 07:38:53 +00:00
Standardize Python files to use Python 3
Python 2 is no longer maintained, and using python3 avoids accidental invocation of outdated interpreters. AMD-Internal: [CPUPL-6579]
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
"""
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
libraries.
|
||||
|
||||
Copyright (C) 2014, The University of Texas at Austin
|
||||
Copyright (C) 2018 - 2023, Advanced Micro Devices, Inc. All rights reserved.
|
||||
Copyright (C) 2018 - 2025, Advanced Micro Devices, Inc. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (C) 2025, Advanced Micro Devices, Inc. All rights reserved.
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Copyright (C) 2020 - 2023, Advanced Micro Devices, Inc. All rights reserved."""
|
||||
#!/usr/bin/env python3
|
||||
"""Copyright (C) 2020 - 2025, Advanced Micro Devices, Inc. All rights reserved."""
|
||||
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Copyright (C) 2021 - 2023, Advanced Micro Devices, Inc. All rights reserved."""
|
||||
#!/usr/bin/env python3
|
||||
"""Copyright (C) 2021 - 2025, Advanced Micro Devices, Inc. All rights reserved."""
|
||||
|
||||
################################################################################
|
||||
# This file is used to mirroring the refkernels folder data into to zen, zen2, #
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
##Copyright (C) 2023, Advanced Micro Devices, Inc. All rights reserved.##
|
||||
#!/usr/bin/env python3
|
||||
##Copyright (C) 2023 - 2025, Advanced Micro Devices, Inc. All rights reserved.##
|
||||
|
||||
# Import modules
|
||||
import os
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
##Copyright (C) 2023, Advanced Micro Devices, Inc. All rights reserved.##
|
||||
#!/usr/bin/env python3
|
||||
##Copyright (C) 2023 - 2025, Advanced Micro Devices, Inc. All rights reserved.##
|
||||
|
||||
# Import modules
|
||||
import os
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
##Copyright (C) 2023 - 2024, Advanced Micro Devices, Inc. All rights reserved.##
|
||||
#!/usr/bin/env python3
|
||||
##Copyright (C) 2023 - 2025, Advanced Micro Devices, Inc. All rights reserved.##
|
||||
|
||||
# Import modules
|
||||
import os
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
##Copyright (C) 2023, Advanced Micro Devices, Inc. All rights reserved.##
|
||||
#!/usr/bin/env python3
|
||||
##Copyright (C) 2023 - 2025, Advanced Micro Devices, Inc. All rights reserved.##
|
||||
|
||||
# Import modules
|
||||
import os
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# BLIS
|
||||
# An object-based framework for developing high-performance BLAS-like
|
||||
# libraries.
|
||||
#
|
||||
# Copyright (C) 2014, The University of Texas at Austin
|
||||
# Copyright (C) 2024 - 2025, Advanced Micro Devices, Inc. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Copyright (C) 2020 - 2023, Advanced Micro Devices, Inc. All rights reserved."""
|
||||
#!/usr/bin/env python3
|
||||
"""Copyright (C) 2020 - 2025, Advanced Micro Devices, Inc. All rights reserved."""
|
||||
import re
|
||||
import subprocess
|
||||
import yaml
|
||||
|
||||
Reference in New Issue
Block a user