Skip to content

Commit c539cc2

Browse files
committed
refactor: drop explanatory comment on split_compile int coercion
1 parent 0e5afde commit c539cc2

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎cuda_core/cuda/core/_linker.pyx‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,9 +428,6 @@ class LinkerOptions:
428428
for opt in self.ptxas_options:
429429
options.append(f"-Xptxas={opt}")
430430
if self.split_compile is not None:
431-
# nvJitLink requires a non-negative integer; coerce bool (a subtype of
432-
# int) so that e.g. ``split_compile=True`` is sent as ``1`` rather
433-
# than the literal string "True", which nvJitLink rejects.
434431
options.append(f"-split-compile={int(self.split_compile)}")
435432
if self.split_compile_extended is not None:
436433
options.append(f"-split-compile-extended={int(self.split_compile_extended)}")

0 commit comments

Comments
 (0)