]> git.proxmox.com Git - ceph.git/blame - ceph/src/arrow/docs/source/python/api/cuda.rst
import quincy 17.2.0
[ceph.git] / ceph / src / arrow / docs / source / python / api / cuda.rst
CommitLineData
1d09f67e
TL
1.. Licensed to the Apache Software Foundation (ASF) under one
2.. or more contributor license agreements. See the NOTICE file
3.. distributed with this work for additional information
4.. regarding copyright ownership. The ASF licenses this file
5.. to you under the Apache License, Version 2.0 (the
6.. "License"); you may not use this file except in compliance
7.. with the License. You may obtain a copy of the License at
8
9.. http://www.apache.org/licenses/LICENSE-2.0
10
11.. Unless required by applicable law or agreed to in writing,
12.. software distributed under the License is distributed on an
13.. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14.. KIND, either express or implied. See the License for the
15.. specific language governing permissions and limitations
16.. under the License.
17
18.. currentmodule:: pyarrow.cuda
19
20CUDA Integration
21================
22
23.. ifconfig:: not cuda_enabled
24
25 .. error::
26 This documentation was built without CUDA enabled. The CUDA
27 API docs are not available.
28
29.. NOTE We still generate those API docs (with empty docstrings)
30.. when CUDA is disabled and `pyarrow.cuda` mocked (see conf.py).
31.. Otherwise we'd get autodoc warnings, see https://github.com/sphinx-doc/sphinx/issues/4770
32
33CUDA Contexts
34-------------
35
36.. autosummary::
37 :toctree: ../generated/
38
39 Context
40
41CUDA Buffers
42------------
43
44.. autosummary::
45 :toctree: ../generated/
46
47 CudaBuffer
48 new_host_buffer
49 HostBuffer
50 BufferReader
51 BufferWriter
52
53Serialization and IPC
54---------------------
55
56.. autosummary::
57 :toctree: ../generated/
58
59 serialize_record_batch
60 read_record_batch
61 read_message
62 IpcMemHandle