/** * Returns the CUDA Runtime version. * * <pre> * cudaError_t cudaRuntimeGetVersion ( * int* runtimeVersion ) * </pre> * <div> * <p>Returns the CUDA Runtime version. * Returns in <tt>*runtimeVersion</tt> the version number of the installed * CUDA Runtime. This function automatically returns cudaErrorInvalidValue * if the <tt>runtimeVersion</tt> argument is NULL. * </p> * </div> * * @param runtimeVersion Returns the CUDA Runtime version. * * @return cudaSuccess, cudaErrorInvalidValue * * @see JCuda#cudaDriverGetVersion */ public static int cudaRuntimeGetVersion(int runtimeVersion[]) { return checkResult(cudaRuntimeGetVersionNative(runtimeVersion)); } private static native int cudaRuntimeGetVersionNative(int runtimeVersion[]);
/** * Returns the CUDA Runtime version. * * <pre> * cudaError_t cudaRuntimeGetVersion ( * int* runtimeVersion ) * </pre> * <div> * <p>Returns the CUDA Runtime version. * Returns in <tt>*runtimeVersion</tt> the version number of the installed * CUDA Runtime. This function automatically returns cudaErrorInvalidValue * if the <tt>runtimeVersion</tt> argument is NULL. * </p> * </div> * * @param runtimeVersion Returns the CUDA Runtime version. * * @return cudaSuccess, cudaErrorInvalidValue * * @see JCuda#cudaDriverGetVersion */ public static int cudaRuntimeGetVersion(int runtimeVersion[]) { return checkResult(cudaRuntimeGetVersionNative(runtimeVersion)); } private static native int cudaRuntimeGetVersionNative(int runtimeVersion[]);
/** * Returns the CUDA Runtime version. * * <pre> * cudaError_t cudaRuntimeGetVersion ( * int* runtimeVersion ) * </pre> * <div> * <p>Returns the CUDA Runtime version. * Returns in <tt>*runtimeVersion</tt> the version number of the installed * CUDA Runtime. This function automatically returns cudaErrorInvalidValue * if the <tt>runtimeVersion</tt> argument is NULL. * </p> * </div> * * @param runtimeVersion Returns the CUDA Runtime version. * * @return cudaSuccess, cudaErrorInvalidValue * * @see JCuda#cudaDriverGetVersion */ public static int cudaRuntimeGetVersion(int runtimeVersion[]) { return checkResult(cudaRuntimeGetVersionNative(runtimeVersion)); } private static native int cudaRuntimeGetVersionNative(int runtimeVersion[]);
/** * Returns the CUDA Runtime version. * * <pre> * cudaError_t cudaRuntimeGetVersion ( * int* runtimeVersion ) * </pre> * <div> * <p>Returns the CUDA Runtime version. * Returns in <tt>*runtimeVersion</tt> the version number of the installed * CUDA Runtime. This function automatically returns cudaErrorInvalidValue * if the <tt>runtimeVersion</tt> argument is NULL. * </p> * </div> * * @param runtimeVersion Returns the CUDA Runtime version. * * @return cudaSuccess, cudaErrorInvalidValue * * @see JCuda#cudaDriverGetVersion */ public static int cudaRuntimeGetVersion(int runtimeVersion[]) { return checkResult(cudaRuntimeGetVersionNative(runtimeVersion)); } private static native int cudaRuntimeGetVersionNative(int runtimeVersion[]);