Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Oct 10, 2024
1 parent 5b254a0 commit b46d667
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/pylibcudf/pylibcudf/contiguous_split.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ cdef class PackedColumns:
return out

def release(self):
"""Release the metadata (host memory) and the gpu_data (device) memory
"""Returns the metadata and gpu data, and releases the ownership.
The ownership of the data are transferred to the returned buffers. After
this call, `self` is empty.
Expand All @@ -92,9 +92,9 @@ cdef class PackedColumns:
Returns
-------
memoryview
The metadata.
The metadata (host memory)
gpumemoryview
The gpu data.
The gpu data (device memory)
"""
if not (dereference(self.c_obj).metadata and dereference(self.c_obj).gpu_data):
raise ValueError("Cannot release empty PackedColumns")
Expand Down

0 comments on commit b46d667

Please sign in to comment.