public class JCusolver extends Object
JCusolverDn, JCusolverSp
and JCusolverRf.
| Modifier and Type | Method and Description |
|---|---|
static void |
initialize()
Initializes the native library.
|
static void |
setExceptionsEnabled(boolean enabled)
Enables or disables exceptions.
|
static void |
setLogLevel(LogLevel logLevel)
Set the specified log level for the JCusolver library.
|
public static void initialize()
public static void setLogLevel(LogLevel logLevel)
logLevel - The log level to use.public static void setExceptionsEnabled(boolean enabled)
cusolverStatus from the native methods.
If exceptions are enabled, a CudaException with a detailed error
message will be thrown if a method is about to set a result code
that is not cusolverStatus.CUSOLVER_STATUS_SUCCESSenabled - Whether exceptions are enabledCopyright © 2016. All rights reserved.