Skip to content

Commit

Permalink
cudf ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
luweizheng committed Jul 6, 2024
1 parent f06f408 commit 275fa7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/xorbits/_mars/storage/cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ async def get(self, object_id: str, **kwargs) -> object:
if isinstance(buf, cupy.ndarray):
new_buffers.append(DeviceBuffer(ptr=buf.data.ptr, size=buf.size))
elif isinstance(buf, CPBuffer):
new_buffers.append(DeviceBuffer(ptr=buf.ptr, size=buf.size))
new_buffers.append(DeviceBuffer(ptr=buf.owner._ptr, size=buf.size))
else:
new_buffers.append(buf)
return deserialize(headers, new_buffers)
Expand Down

0 comments on commit 275fa7d

Please sign in to comment.