Skip to content

Commit 0501b50

Browse files
authored
Fix-up pointer handling with CuPy array
1 parent 20d4607 commit 0501b50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/cugraph/cugraph/layout/force_atlas2_wrapper.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def force_atlas2(input_graph,
108108
order="F",
109109
dtype=cp.float32)
110110

111-
pos_ptr = pos.device_ctypes_pointer.value
111+
pos_ptr = pos.data.ptr
112112

113113
if input_graph.edgelist.weights \
114114
and input_graph.edgelist.edgelist_df['weights'].dtype == np.float64:

0 commit comments

Comments
 (0)