Skip to content

Commit 1e09d03

Browse files
authored
feat: include layer usage examples in the card. (#500)
* feat: include layer usage examples in the card. * formatting
1 parent e7352b0 commit 1e09d03

14 files changed

Lines changed: 251 additions & 4 deletions

File tree

examples/kernels/cutlass-gemm-tvm-ffi/CARD.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ Usage example not available.
3131

3232
Function list not available.
3333
{% endif %}
34+
{% if layers %}
35+
36+
## Available layers
37+
{% for layer in layers %}
38+
- `{{ layer }}`
39+
{% endfor %}
40+
{% endif %}
3441

3542
## Benchmarks
3643
{% if has_benchmark %}
@@ -46,3 +53,4 @@ No benchmark available yet.
4653

4754
Source code of this kernel originally comes from {{ upstream }} and it was repurposed for compatibility with `kernels`.
4855
{% endif %}
56+

examples/kernels/cutlass-gemm/CARD.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ Usage example not available.
3131

3232
Function list not available.
3333
{% endif %}
34+
{% if layers %}
35+
36+
## Available layers
37+
{% for layer in layers %}
38+
- `{{ layer }}`
39+
{% endfor %}
40+
{% endif %}
3441

3542
## Benchmarks
3643
{% if has_benchmark %}
@@ -46,3 +53,4 @@ No benchmark available yet.
4653

4754
Source code of this kernel originally comes from {{ upstream }} and it was repurposed for compatibility with `kernels`.
4855
{% endif %}
56+

examples/kernels/extra-data/CARD.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ Usage example not available.
3131

3232
Function list not available.
3333
{% endif %}
34+
{% if layers %}
35+
36+
## Available layers
37+
{% for layer in layers %}
38+
- `{{ layer }}`
39+
{% endfor %}
40+
{% endif %}
3441

3542
## Benchmarks
3643
{% if has_benchmark %}
@@ -46,3 +53,4 @@ No benchmark available yet.
4653

4754
Source code of this kernel originally comes from {{ upstream }} and it was repurposed for compatibility with `kernels`.
4855
{% endif %}
56+

examples/kernels/relu-backprop-compile/CARD.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ Usage example not available.
3131

3232
Function list not available.
3333
{% endif %}
34+
{% if layers %}
35+
36+
## Available layers
37+
{% for layer in layers %}
38+
- `{{ layer }}`
39+
{% endfor %}
40+
{% endif %}
3441

3542
## Benchmarks
3643
{% if has_benchmark %}
@@ -46,3 +53,4 @@ No benchmark available yet.
4653

4754
Source code of this kernel originally comes from {{ upstream }} and it was repurposed for compatibility with `kernels`.
4855
{% endif %}
56+

examples/kernels/relu-compiler-flags/CARD.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ Usage example not available.
3131

3232
Function list not available.
3333
{% endif %}
34+
{% if layers %}
35+
36+
## Available layers
37+
{% for layer in layers %}
38+
- `{{ layer }}`
39+
{% endfor %}
40+
{% endif %}
3441

3542
## Benchmarks
3643
{% if has_benchmark %}
@@ -46,3 +53,4 @@ No benchmark available yet.
4653

4754
Source code of this kernel originally comes from {{ upstream }} and it was repurposed for compatibility with `kernels`.
4855
{% endif %}
56+

examples/kernels/relu-metal-cpp/CARD.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ Usage example not available.
3131

3232
Function list not available.
3333
{% endif %}
34+
{% if layers %}
35+
36+
## Available layers
37+
{% for layer in layers %}
38+
- `{{ layer }}`
39+
{% endfor %}
40+
{% endif %}
3441

3542
## Benchmarks
3643
{% if has_benchmark %}
@@ -46,3 +53,4 @@ No benchmark available yet.
4653

4754
Source code of this kernel originally comes from {{ upstream }} and it was repurposed for compatibility with `kernels`.
4855
{% endif %}
56+

examples/kernels/relu-nki/CARD.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ Usage example not available.
3131

3232
Function list not available.
3333
{% endif %}
34+
{% if layers %}
35+
36+
## Available layers
37+
{% for layer in layers %}
38+
- `{{ layer }}`
39+
{% endfor %}
40+
{% endif %}
3441

3542
## Benchmarks
3643
{% if has_benchmark %}
@@ -46,3 +53,4 @@ No benchmark available yet.
4653

4754
Source code of this kernel originally comes from {{ upstream }} and it was repurposed for compatibility with `kernels`.
4855
{% endif %}
56+

examples/kernels/relu-specific-torch/CARD.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ Usage example not available.
3131

3232
Function list not available.
3333
{% endif %}
34+
{% if layers %}
35+
36+
## Available layers
37+
{% for layer in layers %}
38+
- `{{ layer }}`
39+
{% endfor %}
40+
{% endif %}
3441

3542
## Benchmarks
3643
{% if has_benchmark %}
@@ -46,3 +53,4 @@ No benchmark available yet.
4653

4754
Source code of this kernel originally comes from {{ upstream }} and it was repurposed for compatibility with `kernels`.
4855
{% endif %}
56+

examples/kernels/relu-torch-bounds/CARD.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ Usage example not available.
3131

3232
Function list not available.
3333
{% endif %}
34+
{% if layers %}
35+
36+
## Available layers
37+
{% for layer in layers %}
38+
- `{{ layer }}`
39+
{% endfor %}
40+
{% endif %}
3441

3542
## Benchmarks
3643
{% if has_benchmark %}
@@ -46,3 +53,4 @@ No benchmark available yet.
4653

4754
Source code of this kernel originally comes from {{ upstream }} and it was repurposed for compatibility with `kernels`.
4855
{% endif %}
56+

examples/kernels/relu-tvm-ffi/CARD.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ Usage example not available.
3131

3232
Function list not available.
3333
{% endif %}
34+
{% if layers %}
35+
36+
## Available layers
37+
{% for layer in layers %}
38+
- `{{ layer }}`
39+
{% endfor %}
40+
{% endif %}
3441

3542
## Benchmarks
3643
{% if has_benchmark %}
@@ -46,3 +53,4 @@ No benchmark available yet.
4653

4754
Source code of this kernel originally comes from {{ upstream }} and it was repurposed for compatibility with `kernels`.
4855
{% endif %}
56+

0 commit comments

Comments
 (0)