Commit 87ea9d2
Fix dynamic function invocation in
Add `N` to the type parameters so the closure captures a fully-typed
array, avoiding dynamic dispatch when the GPU compiler converts captured
variables to device arrays.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>unsafe_strided_batch on Julia 1.12. (#3083)1 parent 5f45772 commit 87ea9d2
2 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1341 | 1341 | | |
1342 | 1342 | | |
1343 | 1343 | | |
1344 | | - | |
| 1344 | + | |
1345 | 1345 | | |
1346 | 1346 | | |
1347 | 1347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
105 | 112 | | |
106 | 113 | | |
107 | 114 | | |
| |||
0 commit comments