There was an error while loading. Please reload this page.
1 parent ed2af8e commit e55e833Copy full SHA for e55e833
csrc/version.cpp
@@ -38,4 +38,4 @@ SPARSE_API int64_t cuda_version() noexcept {
38
} // namespace sparse
39
40
static auto registry = torch::RegisterOperators().op(
41
- "torch_sparse::cuda_version", &sparse::cuda_version);
+ "torch_sparse::cuda_version", [] { return sparse::cuda_version(); });
0 commit comments