Skip to content

Commit 58e852a

Browse files
authored
typo: fix pdl terminology (#933)
Fix terminology from "programmatic dependency loading" to "programmatic dependent launch"
1 parent fdedc43 commit 58e852a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

flashinfer/activation.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def silu_and_mul(
113113
The output tensor, if specified, the kernel will update this tensor inplace.
114114
115115
enable_pdl: bool
116-
Whether to enable `programmatic dependency loading
116+
Whether to enable `programmatic dependent launch
117117
<https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#programmatic-dependent-launch-and-synchronization>`_
118118
119119
Returns
@@ -155,7 +155,7 @@ def gelu_tanh_and_mul(
155155
The output tensor, if specified, the kernel will update this tensor inplace.
156156
157157
enable_pdl: bool
158-
Whether to enable `programmatic dependency loading
158+
Whether to enable `programmatic dependent launch
159159
<https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#programmatic-dependent-launch-and-synchronization>`_
160160
161161
Returns
@@ -193,7 +193,7 @@ def gelu_and_mul(
193193
The output tensor, if specified, the kernel will update this tensor inplace.
194194
195195
enable_pdl: bool
196-
Whether to enable `programmatic dependency loading
196+
Whether to enable `programmatic dependent launch
197197
<https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#programmatic-dependent-launch-and-synchronization>`_
198198
199199
Returns

flashinfer/norm.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def rmsnorm(
6464
out: Optional[torch.Tensor]
6565
The output tensor, if specified, the kernel will update this tensor inplace.
6666
enable_pdl: bool
67-
Whether to enable `programmatic dependency loading
67+
Whether to enable `programmatic dependent launch
6868
<https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#programmatic-dependent-launch-and-synchronization>`_
6969
7070
Returns
@@ -130,7 +130,7 @@ def fused_add_rmsnorm(
130130
eps: float
131131
Epsilon for numerical stability.
132132
enable_pdl: bool
133-
Whether to enable `programmatic dependency loading
133+
Whether to enable `programmatic dependent launch
134134
<https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#programmatic-dependent-launch-and-synchronization>`_
135135
"""
136136
with input.device as device: # device guard
@@ -172,7 +172,7 @@ def gemma_rmsnorm(
172172
out: Optional[torch.Tensor]
173173
The output tensor, if specified, the kernel will update this tensor inplace.
174174
enable_pdl: bool
175-
Whether to enable `programmatic dependency loading
175+
Whether to enable `programmatic dependent launch
176176
<https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#programmatic-dependent-launch-and-synchronization>`_
177177
178178
Returns
@@ -240,7 +240,7 @@ def gemma_fused_add_rmsnorm(
240240
eps: float
241241
Epsilon for numerical stability.
242242
enable_pdl: bool
243-
Whether to enable `programmatic dependency loading
243+
Whether to enable `programmatic dependent launch
244244
<https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#programmatic-dependent-launch-and-synchronization>`_
245245
"""
246246
with input.device as device:

0 commit comments

Comments
 (0)