CUDA device
Closed this issue · 3 comments
bashimao commented
How do we ensure that the CUDA device is properly set for API calls?
rhdong commented
Hi @bashimao , please check here, https://github.com/NVIDIA-Merlin/merlin-kv/blob/master/include/merlin_hashtable.cuh#L169
bashimao commented
Ok, got it. So initialization is done in that device. But for downstream calls to the API, we simply assume the user is smart enough to set the device and provides pointers in the right memory area? Right?
rhdong commented
Ok, got it. So initialization is done in that device. But for downstream calls to the API, we simply assume the user is smart enough to set the device and provides pointers in the right memory area? Right?
Yes