coreylowman / cudarc

Safe rust wrapper around CUDA toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bindgen for cuda_runtime_api.h

djmarcin opened this issue · comments

I was looking for methods like cudaGetDeviceProperties from include/cuda_runtime_api.h but they don't seem to be present. Is there a reason for that, or is it just not done yet? I can look at adding a bindgen for it, if that's reasonable?

Yeah we only have support for the driver api, so no support for runtime api at the moment. I think supporting runtime api might look slightly different from the other APIs, because the safe runtime api would look very similar to the safe driver api.

Perhaps we only add the sys/result levels for runtime api?