Hello I need to retrieve the cuda version whether its cuda8 or cuda9.
anyone know a way I could tell?
I heard cuda managed would tell me but all it did was tell me the driver version "361.xx"
Hello I need to retrieve the cuda version whether its cuda8 or cuda9.
anyone know a way I could tell?
I heard cuda managed would tell me but all it did was tell me the driver version "361.xx"
Given you are using Managed CUDA, you can't.
Managed CUDA (and most other frameworks for using CUDA APIs in other languages like JCUDA and PyCUDA) use the CUDA driver API. There is no concept of "CUDA version" in the driver API, that is strictly a feature of the runtime API. As a result, you can't get the runtime API version with the driver API.
The only relevant version in the driver API is the driver version, which you already have found out how to access.