本文整理了Java中jcuda.runtime.JCuda.cudaRuntimeGetVersionNative()
方法的一些代码示例,展示了JCuda.cudaRuntimeGetVersionNative()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JCuda.cudaRuntimeGetVersionNative()
方法的具体详情如下:
包路径:jcuda.runtime.JCuda
类名称:JCuda
方法名:cudaRuntimeGetVersionNative
暂无
代码示例来源:origin: org.nd4j/jcuda
/**
* 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[]);
代码示例来源:origin: org.nd4j/nd4j-jcublas-common
/**
* 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[]);
代码示例来源:origin: org.jcuda/jcuda
/**
* 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[]);
代码示例来源:origin: org.nd4j/jcuda-windows64
/**
* 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[]);
内容来源于网络,如有侵权,请联系作者删除!