public class Cuda extends Object
| Constructor and Description |
|---|
Cuda() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getDevice()
Get the id of the current device.
|
static boolean |
isEnvCompatibleForTesting()
This should only be used for tests, to enable or disable tests if the current environment
is not compatible with this version of the library.
|
static CudaMemInfo |
memGetInfo()
Mapping: cudaMemGetInfo(size_t *free, size_t *total)
|
public static CudaMemInfo memGetInfo() throws CudaException
CudaExceptionpublic static int getDevice()
throws CudaException
CudaException - on any errorpublic static boolean isEnvCompatibleForTesting()
Copyright © 2019. All rights reserved.