File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cuda_bindings/cuda/bindings/utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments