ext.rst 1.06 KB
Newer Older
root's avatar
root committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
CuPy-specific functions
=======================

CuPy-specific functions are placed under ``cupyx`` namespace.

.. TODO(kmaehashi): use module:: cupyx
.. autosummary::
   :toctree: generated/

   cupyx.rsqrt
   cupyx.scatter_add
   cupyx.scatter_max
   cupyx.scatter_min
   cupyx.empty_pinned
   cupyx.empty_like_pinned
   cupyx.zeros_pinned
   cupyx.zeros_like_pinned

Profiling utilities
-------------------

.. autosummary::
   :toctree: generated/

   cupyx.profiler.benchmark
   cupyx.profiler.time_range
   cupyx.profiler.profile

DLPack utilities
----------------

Below are helper functions for creating a :class:`cupy.ndarray` from either a DLPack tensor
or any object supporting the DLPack data exchange protocol.
For further detail see :ref:`dlpack`.

.. autosummary::
   :toctree: generated/

   cupy.from_dlpack


.. _kernel_param_opt:

Automatic Kernel Parameters Optimizations (:mod:`cupyx.optimizing`)
-------------------------------------------------------------------

.. module:: cupyx.optimizing
.. autosummary::
   :toctree: generated/

   cupyx.optimizing.optimize