Repository navigation
Commit 0c8177c
committed
cuda.core: drop spurious
cython-lint v0.22.0 reports that _check_driver_error and
_check_runtime_error are declared in cuda_utils.pxd and implemented as
`cpdef inline` in cuda_utils.pyx. For cpdef functions visible via a
.pxd, callers in other modules always go through the Python-callable
path; Cython silently ignores the inline keyword in that case. Remove
it to match the .pxd declarations and eliminate the misleading hint.
Signed-off-by: Ralf Juengling <[email protected]>inline on cpdef functions declared in .pxd1 parent 7dbf540 commit 0c8177c
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
0 commit comments