Skip to content

Commit

Permalink
Merge pull request #2774 from kmaehashi/bp-2643-fix-argument-description
Browse files Browse the repository at this point in the history
[backport] Fix docs of options argument in RawKernel and RawModule
  • Loading branch information
asi1024 committed Dec 18, 2019
2 parents a22a5c5 + 328a26b commit 87ff441
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions cupy/core/raw.pyx
Expand Up @@ -21,8 +21,10 @@ cdef class RawKernel:
Args:
code (str): CUDA source code.
name (str): Name of the kernel function.
options (str): Compiler options passed to NVRTC. For details, see
https://docs.nvidia.com/cuda/nvrtc/index.html#group__options.
options (tuple of str): Compiler options passed to the backend (NVRTC
or NVCC). For details, see
https://docs.nvidia.com/cuda/nvrtc/index.html#group__options or
https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html#command-option-description
backend (str): Either `nvrtc` or `nvcc`. Defaults to `nvrtc`
translate_cucomplex (bool): Whether the CUDA source includes the header
`cuComplex.h` or not. If set to ``True``, any code that uses the
Expand Down Expand Up @@ -216,9 +218,10 @@ cdef class RawModule:
Args:
code_or_path (str): CUDA source code or path to cubin.
options (str): Compiler options passed to NVRTC if compilation is
needed. For details, see
https://docs.nvidia.com/cuda/nvrtc/index.html#group__options.
options (tuple of str): Compiler options passed to the backend (NVRTC
or NVCC). For details, see
https://docs.nvidia.com/cuda/nvrtc/index.html#group__options or
https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html#command-option-description
backend (str): Either `nvrtc` or `nvcc`. Defaults to `nvrtc`
translate_cucomplex (bool): Whether the CUDA source includes the header
`cuComplex.h` or not. If set to ``True``, any code that uses the
Expand Down

0 comments on commit 87ff441

Please sign in to comment.