public static class UcsConstants.MEMORY_TYPE extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
UCS_MEMORY_TYPE_CUDA |
static int |
UCS_MEMORY_TYPE_CUDA_MANAGED |
static int |
UCS_MEMORY_TYPE_HOST |
static int |
UCS_MEMORY_TYPE_LAST |
static int |
UCS_MEMORY_TYPE_ROCM |
static int |
UCS_MEMORY_TYPE_ROCM_MANAGED |
static int |
UCS_MEMORY_TYPE_UNKNOWN |
| Constructor and Description |
|---|
MEMORY_TYPE() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isMemTypeSupported(long mask,
int memoryType)
Checks whether context's memory type mask
(received via
UcpContext.getMemoryTypesMask())
supports particular memory type. |
public static int UCS_MEMORY_TYPE_HOST
public static int UCS_MEMORY_TYPE_CUDA
public static int UCS_MEMORY_TYPE_CUDA_MANAGED
public static int UCS_MEMORY_TYPE_ROCM
public static int UCS_MEMORY_TYPE_ROCM_MANAGED
public static int UCS_MEMORY_TYPE_LAST
public static int UCS_MEMORY_TYPE_UNKNOWN
public static boolean isMemTypeSupported(long mask,
int memoryType)
UcpContext.getMemoryTypesMask())
supports particular memory type.Copyright © 2021. All rights reserved.