Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt711 committed Feb 5, 2025
1 parent 46c8ec5 commit c717721
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/pylibcudf/pylibcudf/io/avro.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ cpdef TableWithMetadata read_avro(
----------
options: AvroReaderOptions
Settings for controlling reading behavior
stream: Stream
CUDA stream used for device memory operations and kernel launches
"""
with nogil:
if stream is not None:
Expand Down
4 changes: 4 additions & 0 deletions python/pylibcudf/pylibcudf/io/csv.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,8 @@ cpdef TableWithMetadata read_csv(
----------
options: CsvReaderOptions
Settings for controlling reading behavior
stream: Stream
CUDA stream used for device memory operations and kernel launches
"""
cdef table_with_metadata c_result
with nogil:
Expand Down Expand Up @@ -851,6 +853,8 @@ cpdef void write_csv(
----------
options: CsvWriterOptions
Settings for controlling writing behavior
stream: Stream
CUDA stream used for device memory operations and kernel launches
"""
with nogil:
if stream is not None:
Expand Down
6 changes: 6 additions & 0 deletions python/pylibcudf/pylibcudf/io/json.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,8 @@ cpdef tuple chunked_read_json(
chunk_size : int, default 100_000_000 bytes.
The number of bytes to be read in chunks.
The chunk_size should be set to at least row_size.
stream: Stream
CUDA stream used for device memory operations and kernel launches
Returns
-------
Expand Down Expand Up @@ -504,6 +506,8 @@ cpdef TableWithMetadata read_json(
----------
options: JsonReaderOptions
Settings for controlling reading behavior
stream: Stream
CUDA stream used for device memory operations and kernel launches
Returns
-------
Expand Down Expand Up @@ -712,6 +716,8 @@ cpdef void write_json(JsonWriterOptions options, Stream stream = None):
----------
options : JsonWriterOptions
Settings for controlling writing behavior
stream: Stream
CUDA stream used for device memory operations and kernel launches
Returns
-------
Expand Down
6 changes: 6 additions & 0 deletions python/pylibcudf/pylibcudf/io/orc.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,8 @@ cpdef TableWithMetadata read_orc(OrcReaderOptions options, Stream stream = None)
----------
options: OrcReaderOptions
Settings for controlling reading behavior
stream: Stream
CUDA stream used for device memory operations and kernel launches
"""
cdef table_with_metadata c_result

Expand Down Expand Up @@ -622,6 +624,8 @@ cpdef void write_orc(OrcWriterOptions options, Stream stream = None):
----------
options: OrcWriterOptions
Settings for controlling writing behavior
stream: Stream
CUDA stream used for device memory operations and kernel launches
Returns
-------
Expand Down Expand Up @@ -671,6 +675,8 @@ cdef class OrcChunkedWriter:
----------
options: ChunkedOrcWriterOptions
Settings for controlling writing behavior
stream: Stream
CUDA stream used for device memory operations and kernel launches
Returns
-------
Expand Down
6 changes: 6 additions & 0 deletions python/pylibcudf/pylibcudf/io/parquet.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,8 @@ cpdef read_parquet(ParquetReaderOptions options, Stream stream = None):
----------
options: ParquetReaderOptions
Settings for controlling reading behavior
stream: Stream
CUDA stream used for device memory operations and kernel launches
"""
with nogil:
if stream is not None:
Expand Down Expand Up @@ -390,6 +392,8 @@ cdef class ParquetChunkedWriter:
----------
options: ChunkedParquetWriterOptions
Settings for controlling writing behavior
stream: Stream
CUDA stream used for device memory operations and kernel launches
Returns
-------
Expand Down Expand Up @@ -935,6 +939,8 @@ cpdef memoryview write_parquet(ParquetWriterOptions options, Stream stream = Non
----------
options : ParquetWriterOptions
Settings for controlling writing behavior
stream: Stream
CUDA stream used for device memory operations and kernel launches
Returns
-------
Expand Down

0 comments on commit c717721

Please sign in to comment.