I have started to use JCUDA, but can’t find bindings for Async functions such as cudaMallocAsync.
Where are they?
Async functions are usually supported, but the cudaMallocAsync
one is part of the „memory pool“ API that has been introduced in CUDA 11.2 and is not supported via JCuda.
More generally: There are some parts in the CUDA API that have been introduced with the most recent versions (11 and beyond) that cannot be sensibly used. At all. And particularly, not via Java. If you think that you want to use them anyhow, have a look at javacpp-presets/cudart.java at master · bytedeco/javacpp-presets · GitHub