forked from metax-maca/op_optimization
<docs>(flashinfer): 附录本地链接修复
This commit is contained in:
parent
4ad8e54cb6
commit
21e0bd30cc
|
|
@ -1270,11 +1270,11 @@ Before output, confirm ALL items. Any failure = 0 points.
|
|||
**Common errors**: (1) `-INFINITY` for m → NaN; use `-1.0e20f`. (2) Missing alpha guard → exp(1e20) overflow. (3) K/V ptr uses 32 instead of 4 → wrong stride (4096 vs 512). (4) Output ptr uses kv_head instead of qo_head → 8 heads write to same location. (5) `sum/t` divides by zero at t=0; use `sum/(t+1)`. (6) Signed `0xffffffff` mask → UB; use `0xffffffffu`.
|
||||
```
|
||||
|
||||
[回退到 Step 8](#step%208提交%20oj%20冒烟代码)
|
||||
[*回退到 Step 8*](#step%208提交%20oj%20冒烟代码)
|
||||
|
||||
### 20001 FlashInfer Ragged Prefill 参考冒烟代码
|
||||
|
||||
[回退到 Step 8](#step%208提交%20oj%20冒烟代码)
|
||||
[*回退到 Step 8*](#step%208提交%20oj%20冒烟代码)
|
||||
|
||||
```cpp
|
||||
#include <stdint.h>
|
||||
|
|
@ -1460,4 +1460,4 @@ extern "C" void run_kernel(
|
|||
}
|
||||
```
|
||||
|
||||
[回退到 Step 8](#step%208提交%20oj%20冒烟代码)
|
||||
[*回退到 Step 8*](#step%208提交%20oj%20冒烟代码)
|
||||
Loading…
Reference in New Issue