| Modifier and Type | Method and Description |
|---|---|
static void |
Cuda.freeZero()
Calls cudaFree(0).
|
static int |
Cuda.getDevice()
Get the id of the current device.
|
static int |
Cuda.getDeviceCount()
Get the device count.
|
static CudaMemInfo |
Cuda.memGetInfo()
Mapping: cudaMemGetInfo(size_t *free, size_t *total)
|
static void |
Cuda.memset(long dst,
byte value,
long count)
Sets count bytes starting at the memory area pointed to by dst, with value.
|
static void |
Cuda.setDevice(int device)
Set the id of the current device.
|
Copyright © 2020. All rights reserved.