Commit 279b6bf
committed
Fix: use cuda_device_handle in cu_memory_provider_initialize
cu_provider->device is not set (equals 0) in this place yet,
so we have to use cu_params->cuda_device_handle instead of
cu_provider->device here.
Signed-off-by: Lukasz Dorau <[email protected]>1 parent 40d0ebe commit 279b6bf
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| |||
0 commit comments