File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -349,16 +349,20 @@ def ptxas_supports_address_size_32(ptxas_executable):
349
349
350
350
def enable_ptxas (ptxas_executable ):
351
351
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
+ )
356
358
357
359
major_version , minor_version = ptxas_version (ptxas_executable )
358
360
config .available_features .add ("ptxas-{}.{}" .format (major_version , minor_version ))
359
361
360
362
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
+ )
362
366
363
367
for sm in ptxas_supported_sms (ptxas_executable ):
364
368
config .available_features .add ("ptxas-sm_{}" .format (sm ))
You can’t perform that action at this time.
0 commit comments