Skip to content

Commit 2b19c39

Browse files
formatting
1 parent 62a564a commit 2b19c39

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

llvm/test/lit.cfg.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -349,16 +349,20 @@ def ptxas_supports_address_size_32(ptxas_executable):
349349

350350
def enable_ptxas(ptxas_executable):
351351
config.available_features.add("ptxas")
352-
tools.extend([
353-
ToolSubst("%ptxas", ptxas_executable),
354-
ToolSubst("%ptxas-verify", f"{ptxas_executable} -c -"),
355-
])
352+
tools.extend(
353+
[
354+
ToolSubst("%ptxas", ptxas_executable),
355+
ToolSubst("%ptxas-verify", f"{ptxas_executable} -c -"),
356+
]
357+
)
356358

357359
major_version, minor_version = ptxas_version(ptxas_executable)
358360
config.available_features.add("ptxas-{}.{}".format(major_version, minor_version))
359361

360362
for major_version, minor_version in ptxas_supported_isa_versions(ptxas_executable):
361-
config.available_features.add("ptxas-isa-v{}.{}".format(major_version, minor_version))
363+
config.available_features.add(
364+
"ptxas-isa-v{}.{}".format(major_version, minor_version)
365+
)
362366

363367
for sm in ptxas_supported_sms(ptxas_executable):
364368
config.available_features.add("ptxas-sm_{}".format(sm))

0 commit comments

Comments
 (0)