congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
JCublas.checkResult
Code IndexAdd Tabnine to your IDE (free)

How to use
checkResult
method
in
jcuda.jcublas.JCublas

Best Java code snippets using jcuda.jcublas.JCublas.checkResult (Showing top 20 results out of 315)

origin: org.nd4j/nd4j-jcublas-common

public static int cublasSetVectorAsync (int n, int elemSize, Pointer hostPtr, int incx, Pointer devicePtr, int incy, cudaStream_t stream)
{
  return checkResult(cublasSetVectorAsyncNative(n, elemSize, hostPtr, incx, devicePtr, incy, stream));
}
/*
origin: org.nd4j/jcublas

public static int cublasSetKernelStream (cudaStream_t stream)
{
  return checkResult(cublasSetKernelStreamNative(stream));
}
private static native int cublasSetKernelStreamNative(cudaStream_t stream);
origin: org.jcuda/jcublas

public static int cublasSetVectorAsync (int n, int elemSize, Pointer hostPtr, int incx, Pointer devicePtr, int incy, cudaStream_t stream)
{
  return checkResult(cublasSetVectorAsyncNative(n, elemSize, hostPtr, incx, devicePtr, incy, stream));
}
/*
origin: org.nd4j/jcublas-osx

public static int cublasSetVectorAsync (int n, int elemSize, Pointer hostPtr, int incx, Pointer devicePtr, int incy, cudaStream_t stream)
{
  return checkResult(cublasSetVectorAsyncNative(n, elemSize, hostPtr, incx, devicePtr, incy, stream));
}
/*
origin: org.scalanlp/jcublas

public static int cublasSetVectorAsync (int n, int elemSize, Pointer hostPtr, int incx, Pointer devicePtr, int incy, cudaStream_t stream)
{
 return checkResult(cublasSetVectorAsyncNative(n, elemSize, hostPtr, incx, devicePtr, incy, stream));
}
/* 
origin: org.nd4j/jcublas

public static int cublasSetVectorAsync (int n, int elemSize, Pointer hostPtr, int incx, Pointer devicePtr, int incy, cudaStream_t stream)
{
  return checkResult(cublasSetVectorAsyncNative(n, elemSize, hostPtr, incx, devicePtr, incy, stream));
}
/*
origin: org.nd4j/jcublas-windows64

public static int cublasSetVectorAsync (int n, int elemSize, Pointer hostPtr, int incx, Pointer devicePtr, int incy, cudaStream_t stream)
{
  return checkResult(cublasSetVectorAsyncNative(n, elemSize, hostPtr, incx, devicePtr, incy, stream));
}
/*
origin: org.nd4j/nd4j-jcublas-common

public static int cublasGetVectorAsync(int n, int elemSize, Pointer devicePtr, int incx, Pointer hostPtr, int incy, cudaStream_t stream)
{
  return checkResult(cublasGetVectorAsyncNative(n, elemSize, devicePtr, incx, hostPtr, incy, stream));
}
origin: org.nd4j/jcublas-osx

public static int cublasGetVectorAsync(int n, int elemSize, Pointer devicePtr, int incx, Pointer hostPtr, int incy, cudaStream_t stream)
{
  return checkResult(cublasGetVectorAsyncNative(n, elemSize, devicePtr, incx, hostPtr, incy, stream));
}
origin: org.nd4j/nd4j-jcublas-common

public static int cublasSetKernelStream (cudaStream_t stream)
{
  return checkResult(cublasSetKernelStreamNative(stream));
}
private static native int cublasSetKernelStreamNative(cudaStream_t stream);
origin: org.nd4j/jcublas-windows64

public static int cublasSetKernelStream (cudaStream_t stream)
{
  return checkResult(cublasSetKernelStreamNative(stream));
}
private static native int cublasSetKernelStreamNative(cudaStream_t stream);
origin: org.jcuda/jcublas

public static int cublasSetKernelStream (cudaStream_t stream)
{
  return checkResult(cublasSetKernelStreamNative(stream));
}
private static native int cublasSetKernelStreamNative(cudaStream_t stream);
origin: org.nd4j/jcublas-osx

public static int cublasSetKernelStream (cudaStream_t stream)
{
  return checkResult(cublasSetKernelStreamNative(stream));
}
private static native int cublasSetKernelStreamNative(cudaStream_t stream);
origin: org.scalanlp/jcublas

public static int cublasSetKernelStream (cudaStream_t stream)
{
 return checkResult(cublasSetKernelStreamNative(stream));
}
private static native int cublasSetKernelStreamNative(cudaStream_t stream);
origin: org.nd4j/nd4j-jcublas-common

public static int cublasGetMatrixAsync (int rows, int cols, int elemSize, Pointer A, int lda,  Pointer B, int ldb, cudaStream_t stream)
{
  return checkResult(cublasGetMatrixAsyncNative(rows, cols, elemSize, A, lda, B, ldb, stream));
}
origin: org.nd4j/jcublas

public static int cublasSetMatrixAsync (int rows, int cols, int elemSize, Pointer A, int lda, Pointer B, int ldb, cudaStream_t stream)
{
  return checkResult(cublasSetMatrixAsyncNative(rows, cols, elemSize, A, lda, B, ldb, stream));
}
origin: org.nd4j/jcublas-windows64

public static int cublasGetVectorAsync(int n, int elemSize, Pointer devicePtr, int incx, Pointer hostPtr, int incy, cudaStream_t stream)
{
  return checkResult(cublasGetVectorAsyncNative(n, elemSize, devicePtr, incx, hostPtr, incy, stream));
}
origin: org.nd4j/jcublas-windows64

public static int cublasSetMatrixAsync (int rows, int cols, int elemSize, Pointer A, int lda, Pointer B, int ldb, cudaStream_t stream)
{
  return checkResult(cublasSetMatrixAsyncNative(rows, cols, elemSize, A, lda, B, ldb, stream));
}
origin: org.jcuda/jcublas

public static int cublasSetMatrixAsync (int rows, int cols, int elemSize, Pointer A, int lda, Pointer B, int ldb, cudaStream_t stream)
{
  return checkResult(cublasSetMatrixAsyncNative(rows, cols, elemSize, A, lda, B, ldb, stream));
}
origin: org.nd4j/nd4j-jcublas-common

public static int cublasSetMatrixAsync (int rows, int cols, int elemSize, Pointer A, int lda, Pointer B, int ldb, cudaStream_t stream)
{
  return checkResult(cublasSetMatrixAsyncNative(rows, cols, elemSize, A, lda, B, ldb, stream));
}
jcuda.jcublasJCublascheckResult

Javadoc

If the given result is different to cublasStatus.CUBLAS_STATUS_SUCCESS and exceptions have been enabled, this method will throw a CudaException with an error message that corresponds to the given result code. Otherwise, the given result is simply returned.

Popular methods of JCublas

  • checkResultBLAS
    Obtain the current CUBLAS status by calling cublasGetErrorNative, and store the result as the lastRe
  • cublasAllocNative
  • cublasCaxpyNative
  • cublasCcopyNative
  • cublasCdotcNative
  • cublasCdotuNative
  • cublasCgbmvNative
  • cublasCgemmNative
  • cublasCgemvNative
  • cublasCgercNative
  • cublasCgeruNative
  • cublasChbmvNative
  • cublasCgeruNative,
  • cublasChbmvNative,
  • cublasChemmNative,
  • cublasChemvNative,
  • cublasCher2Native,
  • cublasCher2kNative,
  • cublasCherNative,
  • cublasCherkNative,
  • cublasChpr2Native

Popular in Java

  • Start an intent from android
  • onCreateOptionsMenu (Activity)
  • getSharedPreferences (Context)
  • setRequestProperty (URLConnection)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now