".github/workflows/build_cpp.yml" did not exist on "d665bfb8994a52029bdf56576ad4e982cbc684be"
Unverified Commit d2e1cfce authored by Quan (Andy) Gan's avatar Quan (Andy) Gan Committed by GitHub
Browse files

[Bug] Fix PinSAGE crashes on hypersparse graphs (#1565)

parent 901e0c24
...@@ -613,8 +613,8 @@ COOMatrix COORowWiseTopk( ...@@ -613,8 +613,8 @@ COOMatrix COORowWiseTopk(
COOMatrix mat, IdArray rows, int64_t k, FloatArray weight, bool ascending) { COOMatrix mat, IdArray rows, int64_t k, FloatArray weight, bool ascending) {
COOMatrix ret; COOMatrix ret;
ATEN_COO_SWITCH(mat, XPU, IdType, { ATEN_COO_SWITCH(mat, XPU, IdType, {
ATEN_FLOAT_TYPE_SWITCH(weight->dtype, FloatType, "weight", { ATEN_DTYPE_SWITCH(weight->dtype, DType, "weight", {
ret = impl::COORowWiseTopk<XPU, IdType, FloatType>( ret = impl::COORowWiseTopk<XPU, IdType, DType>(
mat, rows, k, weight, ascending); mat, rows, k, weight, ascending);
}); });
}); });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment