Commit 3a79fbe
authored
Fix overflow in
`preprocess_data_kernel` in NN Descent had overflow issues.
casting `blockIdx.x` to `size_t` to avoid overflow.
Authors:
- Jinsol Park (https://github.com/jinsolp)
Approvers:
- Divye Gala (https://github.com/divyegala)
URL: #1596preprocess_data_kernel of NN Descent (#1596)1 parent 55fca1e commit 3a79fbe
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
247 | 251 | | |
248 | 252 | | |
249 | 253 | | |
| |||
0 commit comments