@@ -489,28 +489,31 @@ <h2>Functions<a class="headerlink" href="#functions" title="Link to this heading
489
489
< tr class ="row-even "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.parse_compute_version " title ="tilelang.contrib.nvcc.parse_compute_version "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> parse_compute_version</ span > </ code > </ a > (compute_version)</ p > </ td >
490
490
< td > < p > Parse compute capability string to divide major and minor version</ p > </ td >
491
491
</ tr >
492
- < tr class ="row-odd "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_fp16 " title ="tilelang.contrib.nvcc.have_fp16 "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> have_fp16</ span > </ code > </ a > (compute_version)</ p > </ td >
492
+ < tr class ="row-odd "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.get_target_arch " title ="tilelang.contrib.nvcc.get_target_arch "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> get_target_arch</ span > </ code > </ a > (compute_version)</ p > </ td >
493
+ < td > < p > </ p > </ td >
494
+ </ tr >
495
+ < tr class ="row-even "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_fp16 " title ="tilelang.contrib.nvcc.have_fp16 "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> have_fp16</ span > </ code > </ a > (compute_version)</ p > </ td >
493
496
< td > < p > Either fp16 support is provided in the compute capability or not</ p > </ td >
494
497
</ tr >
495
- < tr class ="row-even "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_int8 " title ="tilelang.contrib.nvcc.have_int8 "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> have_int8</ span > </ code > </ a > (compute_version)</ p > </ td >
498
+ < tr class ="row-odd "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_int8 " title ="tilelang.contrib.nvcc.have_int8 "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> have_int8</ span > </ code > </ a > (compute_version)</ p > </ td >
496
499
< td > < p > Either int8 support is provided in the compute capability or not</ p > </ td >
497
500
</ tr >
498
- < tr class ="row-odd "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_tensorcore " title ="tilelang.contrib.nvcc.have_tensorcore "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> have_tensorcore</ span > </ code > </ a > ([compute_version, target])</ p > </ td >
501
+ < tr class ="row-even "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_tensorcore " title ="tilelang.contrib.nvcc.have_tensorcore "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> have_tensorcore</ span > </ code > </ a > ([compute_version, target])</ p > </ td >
499
502
< td > < p > Either TensorCore support is provided in the compute capability or not</ p > </ td >
500
503
</ tr >
501
- < tr class ="row-even "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_cudagraph " title ="tilelang.contrib.nvcc.have_cudagraph "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> have_cudagraph</ span > </ code > </ a > ()</ p > </ td >
504
+ < tr class ="row-odd "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_cudagraph " title ="tilelang.contrib.nvcc.have_cudagraph "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> have_cudagraph</ span > </ code > </ a > ()</ p > </ td >
502
505
< td > < p > Either CUDA Graph support is provided</ p > </ td >
503
506
</ tr >
504
- < tr class ="row-odd "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_bf16 " title ="tilelang.contrib.nvcc.have_bf16 "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> have_bf16</ span > </ code > </ a > (compute_version)</ p > </ td >
507
+ < tr class ="row-even "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_bf16 " title ="tilelang.contrib.nvcc.have_bf16 "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> have_bf16</ span > </ code > </ a > (compute_version)</ p > </ td >
505
508
< td > < p > Either bf16 support is provided in the compute capability or not</ p > </ td >
506
509
</ tr >
507
- < tr class ="row-even "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_fp8 " title ="tilelang.contrib.nvcc.have_fp8 "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> have_fp8</ span > </ code > </ a > (compute_version)</ p > </ td >
510
+ < tr class ="row-odd "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_fp8 " title ="tilelang.contrib.nvcc.have_fp8 "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> have_fp8</ span > </ code > </ a > (compute_version)</ p > </ td >
508
511
< td > < p > Whether fp8 support is provided in the specified compute capability or not</ p > </ td >
509
512
</ tr >
510
- < tr class ="row-odd "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_tma " title ="tilelang.contrib.nvcc.have_tma "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> have_tma</ span > </ code > </ a > (target)</ p > </ td >
513
+ < tr class ="row-even "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_tma " title ="tilelang.contrib.nvcc.have_tma "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> have_tma</ span > </ code > </ a > (target)</ p > </ td >
511
514
< td > < p > Whether TMA support is provided in the specified compute capability or not</ p > </ td >
512
515
</ tr >
513
- < tr class ="row-even "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.get_nvcc_compiler " title ="tilelang.contrib.nvcc.get_nvcc_compiler "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> get_nvcc_compiler</ span > </ code > </ a > ()</ p > </ td >
516
+ < tr class ="row-odd "> < td > < p > < a class ="reference internal " href ="#tilelang.contrib.nvcc.get_nvcc_compiler " title ="tilelang.contrib.nvcc.get_nvcc_compiler "> < code class ="xref py py-obj docutils literal notranslate "> < span class ="pre "> get_nvcc_compiler</ span > </ code > </ a > ()</ p > </ td >
514
517
< td > < p > Get the path to the nvcc compiler</ p > </ td >
515
518
</ tr >
516
519
</ tbody >
@@ -636,6 +639,19 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to
636
639
</ ul >
637
640
</ p >
638
641
</ dd >
642
+ < dt class ="field-odd "> Return type< span class ="colon "> :</ span > </ dt >
643
+ < dd class ="field-odd "> < p > tuple[int, int]</ p >
644
+ </ dd >
645
+ </ dl >
646
+ </ dd > </ dl >
647
+
648
+ < dl class ="py function ">
649
+ < dt class ="sig sig-object py " id ="tilelang.contrib.nvcc.get_target_arch ">
650
+ < span class ="sig-prename descclassname "> < span class ="pre "> tilelang.contrib.nvcc.</ span > </ span > < span class ="sig-name descname "> < span class ="pre "> get_target_arch</ span > </ span > < span class ="sig-paren "> (</ span > < em class ="sig-param "> < span class ="n "> < span class ="pre "> compute_version</ span > </ span > </ em > < span class ="sig-paren "> )</ span > < a class ="headerlink " href ="#tilelang.contrib.nvcc.get_target_arch " title ="Link to this definition "> ¶</ a > </ dt >
651
+ < dd > < dl class ="field-list simple ">
652
+ < dt class ="field-odd "> Return type< span class ="colon "> :</ span > </ dt >
653
+ < dd class ="field-odd "> < p > str</ p >
654
+ </ dd >
639
655
</ dl >
640
656
</ dd > </ dl >
641
657
@@ -795,6 +811,7 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to
795
811
< li > < a class ="reference internal " href ="#tilelang.contrib.nvcc.callback_libdevice_path "> < code class ="docutils literal notranslate "> < span class ="pre "> callback_libdevice_path()</ span > </ code > </ a > </ li >
796
812
< li > < a class ="reference internal " href ="#tilelang.contrib.nvcc.get_target_compute_version "> < code class ="docutils literal notranslate "> < span class ="pre "> get_target_compute_version()</ span > </ code > </ a > </ li >
797
813
< li > < a class ="reference internal " href ="#tilelang.contrib.nvcc.parse_compute_version "> < code class ="docutils literal notranslate "> < span class ="pre "> parse_compute_version()</ span > </ code > </ a > </ li >
814
+ < li > < a class ="reference internal " href ="#tilelang.contrib.nvcc.get_target_arch "> < code class ="docutils literal notranslate "> < span class ="pre "> get_target_arch()</ span > </ code > </ a > </ li >
798
815
< li > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_fp16 "> < code class ="docutils literal notranslate "> < span class ="pre "> have_fp16()</ span > </ code > </ a > </ li >
799
816
< li > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_int8 "> < code class ="docutils literal notranslate "> < span class ="pre "> have_int8()</ span > </ code > </ a > </ li >
800
817
< li > < a class ="reference internal " href ="#tilelang.contrib.nvcc.have_tensorcore "> < code class ="docutils literal notranslate "> < span class ="pre "> have_tensorcore()</ span > </ code > </ a > </ li >
0 commit comments