Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openequivariance/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ if(hip_FOUND)
)

set(HIP_LINK_LIBS
hiprtc
hip_stub_lib
hip::host
)
add_stable_extension(torch_stable_hip HIP_BACKEND "${HIP_LINK_LIBS}")
endif()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ def load_jit_extension():

extra_cflags.append("-DCUDA_BACKEND")
elif torch.version.hip:
extra_link_args.extend(["-lhiprtc"])
torch_libs = library_paths("cuda")[0]
extra_link_args.append("-Wl,-rpath," + torch_libs)
extra_cflags.append("-DHIP_BACKEND")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
#include <torch/headeronly/util/shim_utils.h>
#include <torch/csrc/inductor/aoti_torch/c/shim.h>

#ifdef HIP_BACKEND
#include <c10/hip/HIPStream.h>
#endif

using Tensor = torch::stable::Tensor;
using Dtype = torch::headeronly::ScalarType;
Expand Down
Loading