From f03bb03026ff65e81d1a5a01084516a1849d62a8 Mon Sep 17 00:00:00 2001 From: Toshiki Kataoka Date: Mon, 2 Jul 2018 19:13:46 +0900 Subject: [PATCH 1/2] fix typo --- cupy/core/elementwise.pxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cupy/core/elementwise.pxi b/cupy/core/elementwise.pxi index 1b891baed9a..09dbe9ac39e 100644 --- a/cupy/core/elementwise.pxi +++ b/cupy/core/elementwise.pxi @@ -468,7 +468,7 @@ cdef class ElementwiseKernel: (i.e., the arrays are reshaped without copy to the minimum dimension) by default. It may make the kernel fast by reducing the index calculations. - options (list): Options passed to the ``nvcc`` command. + options (tuple): Options passed to the ``nvcc`` command. preamble (str): Fragment of the CUDA-C/C++ code that is inserted at the top of the cu file. no_return (bool): If ``True``, __call__ returns ``None``. From 1684d11ab319dec15076bc6faaec6353e042a551 Mon Sep 17 00:00:00 2001 From: Toshiki Kataoka Date: Wed, 4 Jul 2018 05:40:28 +0900 Subject: [PATCH 2/2] Fix nvcc to nvrtc and add a link. --- cupy/core/elementwise.pxi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cupy/core/elementwise.pxi b/cupy/core/elementwise.pxi index 09dbe9ac39e..83c817782e6 100644 --- a/cupy/core/elementwise.pxi +++ b/cupy/core/elementwise.pxi @@ -468,7 +468,8 @@ cdef class ElementwiseKernel: (i.e., the arrays are reshaped without copy to the minimum dimension) by default. It may make the kernel fast by reducing the index calculations. - options (tuple): Options passed to the ``nvcc`` command. + options (tuple): Compile options passed to NVRTC. For details, see + https://docs.nvidia.com/cuda/nvrtc/index.html#group__options. preamble (str): Fragment of the CUDA-C/C++ code that is inserted at the top of the cu file. no_return (bool): If ``True``, __call__ returns ``None``.