Skip to content

Commit 7f7d24b

Browse files
wenchenvincentjithunnair-amd
authored andcommitted
Sync updates from hipify_torch. (#1168)
Co-authored-by: Jithun Nair <[email protected]>
1 parent a5641fa commit 7f7d24b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

torch/utils/hipify/constants.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,5 @@
5959
API_PYTORCH = 1337
6060
API_CAFFE2 = 1338
6161
API_C10 = 1339
62-
API_ROCMSMI = 1340
62+
API_PYT_EXT = 1340
63+
API_ROCMSMI = 1341

torch/utils/hipify/cuda_to_hip_mappings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,7 @@
624624
("nvtx3/nvtx3.hpp", ("roctracer/roctx.h", CONV_INCLUDE, API_ROCTX)),
625625
("nvToolsExt.h", ("roctracer/roctx.h", CONV_INCLUDE, API_ROCTX)),
626626
("nvml.h", ("rocm_smi/rocm_smi.h", CONV_INCLUDE, API_ROCMSMI)),
627+
("tensorpipe/tensorpipe_cuda.h", ("tensorpipe/tensorpipe_hip.h", CONV_INCLUDE, API_PYT_EXT)),
627628
]
628629
)
629630

0 commit comments

Comments
 (0)