Skip to content

Commit e2afa85

Browse files
committed
refresh
1 parent c13c860 commit e2afa85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cuda_bindings/cuda/bindings/utils/_nvvm_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def check_nvvm_compiler_options(options: Sequence[str]) -> bool:
2525
2626
Check if the specified options are supported by the current libNVVM version.
2727
28-
The options are a list of bytes, each representing a compiler option.
28+
The options are a list of strings, each representing a compiler option.
2929
3030
If the test program fails to compile, the options are not supported and False
3131
is returned.
@@ -37,7 +37,7 @@ def check_nvvm_compiler_options(options: Sequence[str]) -> bool:
3737
Parameters
3838
----------
3939
options : Sequence[bytes]
40-
List of compiler options as bytes (e.g., [b"-arch=compute_90", b"-g"]).
40+
List of compiler options as strings (e.g., ["-arch=compute_90", "-g"]).
4141
4242
Returns
4343
-------
@@ -47,7 +47,7 @@ def check_nvvm_compiler_options(options: Sequence[str]) -> bool:
4747
Examples
4848
--------
4949
>>> from cuda.bindings.utils import check_nvvm_options
50-
>>> check_nvvm_options([b"-arch=compute_90", b"-g"])
50+
>>> check_nvvm_options(["-arch=compute_90", "-g"])
5151
True
5252
"""
5353
try:

0 commit comments

Comments
 (0)