Skip to content

Commit 9d8a1ff

Browse files
committed
fix(exla): handle non-CUDA enabled case
1 parent c772f3c commit 9d8a1ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exla/c_src/exla/exla_cuda.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ std::pair<std::vector<unsigned char>, int> get_cuda_ipc_handle(std::uintptr_t pt
5454
return std::make_pair(std::vector<unsigned char>(0), 1);
5555
}
5656

57-
std::pair<void*, int> get_pointer_for_ipc_handle(std::vector<int64_t> handle_list) {
57+
std::pair<void*, int> get_pointer_for_ipc_handle(std::vector<int64_t> handle_list, int device_id) {
5858
return std::make_pair(nullptr, 1);
5959
}
6060
#endif

0 commit comments

Comments
 (0)