public class JCusolver extends Object
JCusolverDn
, JCusolverSp
and JCusolverRf
.
Modifier and Type | Method and Description |
---|---|
static int |
cusolverGetProperty(int type,
int[] value) |
static int |
cusolverGetVersion(int[] version) |
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 enabledpublic static int cusolverGetProperty(int type, int[] value)
public static int cusolverGetVersion(int[] version)
Copyright © 2020. All rights reserved.