Skip to content

Commit 89c0c91

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

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
@@ -58,4 +58,5 @@
5858
API_PYTORCH = 1337
5959
API_CAFFE2 = 1338
6060
API_C10 = 1339
61-
API_ROCMSMI = 1340
61+
API_PYT_EXT = 1340
62+
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
@@ -646,6 +646,7 @@
646646
("cub/device/device_select.cuh", ("hipcub/hipcub.hpp", CONV_INCLUDE, API_BLAS)),
647647
("nvToolsExt.h", ("roctracer/roctx.h", CONV_INCLUDE, API_ROCTX)),
648648
("nvml.h", ("rocm_smi/rocm_smi.h", CONV_INCLUDE, API_ROCMSMI)),
649+
("tensorpipe/tensorpipe_cuda.h", ("tensorpipe/tensorpipe_hip.h", CONV_INCLUDE, API_PYT_EXT)),
649650
]
650651
)
651652

0 commit comments

Comments
 (0)