eyalroz / cuda-api-wrappers

Thin, unified, C++-flavored wrappers for the CUDA APIs
BSD 3-Clause "New" or "Revised" License
766 stars 79 forks source link

Drop context-specifying functions for allocation host memory #627

Closed eyalroz closed 3 months ago

eyalroz commented 5 months ago

While allocation of host memory does require having some current context - host memory is not actually context-specific. So let's drop the function calls for allocating it which take a context or a device.