Skip to content

Commit

Permalink
Fix cupy function in notebook
Browse files Browse the repository at this point in the history
This PR updates a `from_dlpack` call that was missed in rapidsai#10631.
  • Loading branch information
ajschmidt8 committed Apr 26, 2022
1 parent e2cd6b0 commit 3609d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cudf/source/user_guide/10min-cudf-cupy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@
" if sparseformat == 'row':\n",
" _sparse_constructor = cp.sparse.csr_matrix\n",
"\n",
" return _sparse_constructor(cp.from_dlpack(data.to_dlpack()))"
" return _sparse_constructor(cupy_from_dlpack(data.to_dlpack()))"
]
},
{
Expand Down

0 comments on commit 3609d57

Please sign in to comment.