Skip to content

Commit c0bf3aa

Browse files
Pyre Bot Jr.facebook-github-bot
authored andcommitted
Add missing Pyre mode headers] [batch:4/N] [shard:33/N] [A]
Reviewed By: klintqinami Differential Revision: D91908982
1 parent 8d0b9a4 commit c0bf3aa

4 files changed

Lines changed: 6 additions & 0 deletions

File tree

tools/amd_build/build_amd.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env python3
22

3+
# pyre-unsafe
4+
35

46
import argparse
57
import os

tools/amd_build/pyHIPIFY/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# pyre-unsafe
12
""" Constants for annotations in the mapping.
23
The constants defined here are used to annotate the mapping tuples in cuda_to_hip_mappings.py.
34
They are based on

tools/amd_build/pyHIPIFY/cuda_to_hip_mappings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# pyre-unsafe
12
import collections
23

34
from pyHIPIFY.constants import *

tools/amd_build/pyHIPIFY/hipify_python.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env python3
2+
3+
# pyre-unsafe
24
""" The Python Hipify script.
35
##
46
# Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.

0 commit comments

Comments
 (0)