Skip to content

Commit 21a58bc

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

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
@@ -649,6 +649,7 @@
649649
("cub/device/device_select.cuh", ("hipcub/hipcub.hpp", CONV_INCLUDE, API_BLAS)),
650650
("nvtx3/nvToolsExt.h", ("roctracer/roctx.h", CONV_INCLUDE, API_ROCTX)),
651651
("nvml.h", ("rocm_smi/rocm_smi.h", CONV_INCLUDE, API_ROCMSMI)),
652+
("tensorpipe/tensorpipe_cuda.h", ("tensorpipe/tensorpipe_hip.h", CONV_INCLUDE, API_PYT_EXT)),
652653
]
653654
)
654655

0 commit comments

Comments
 (0)