jcuda.runtime.JCuda.cudaRuntimeGetVersionNative()方法的使用及代码示例

x33g5p2x  于2022-01-22 转载在 其他  
字(3.3k)|赞(0)|评价(0)|浏览(140)

本文整理了Java中jcuda.runtime.JCuda.cudaRuntimeGetVersionNative()方法的一些代码示例,展示了JCuda.cudaRuntimeGetVersionNative()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JCuda.cudaRuntimeGetVersionNative()方法的具体详情如下:
包路径:jcuda.runtime.JCuda
类名称:JCuda
方法名:cudaRuntimeGetVersionNative

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[]);

相关文章

JCuda类方法