Minor change to docs
@@ -35,10 +35,8 @@ cdef class RawKernel:
``cuLaunchCooperativeKernel`` so that cooperative groups can be
used from the CUDA source.
This feature is only supported in CUDA 9 or later.
- log_stream (str): Whether the output of nvcc should be displayed in
- 'stdout' or stored to a 'file'. For example,
- ``log_stream='./file.txt'`` will write to output to
- ``file.txt`` in the current directory.
+ log_stream (object): Pass either ``sys.stdout`` or a file object to
+ which the compiler output will be written.
"""
def __init__(self, str code, str name, tuple options=(),
@@ -263,10 +261,8 @@ cdef class RawModule:
the template kernel ``func1<T>`` and non-template kernel ``func2``.
Strings in this tuple must then be passed, one at a time, to
:meth:`get_function` to retrieve the corresponding kernel.
- log_stream (str): Whether the output of nvcc should be displayed in
- 'stdout' or stored to a 'file'. For example,
- ``log_stream='./file.txt'`` will write to output to
- ``file.txt`` in the current directory.
+ log_stream (object): Pass either ``sys.stdout`` or a file object to
+ which the compiler output will be written.
.. note::
Each kernel in ``RawModule`` possesses independent function attributes.
