public class CUfunction_attribute extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CU_FUNC_ATTRIBUTE_BINARY_VERSION
The binary version for which the function was compiled.
|
static int |
CU_FUNC_ATTRIBUTE_CACHE_MODE_CA
The attribute to indicate whether the function has been compiled with
user specified option "-Xptxas --dlcm=ca" set .
|
static int |
CU_FUNC_ATTRIBUTE_CONST_SIZE_BYTES
The size in bytes of user-allocated constant memory required by this
function.
|
static int |
CU_FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES
The size in bytes of thread local memory used by this function.
|
static int |
CU_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES
The maximum size in bytes of dynamically-allocated shared memory that can
be used by this function.
|
static int |
CU_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK
The number of threads beyond which a launch of the function would fail.
|
static int |
CU_FUNC_ATTRIBUTE_NUM_REGS
The number of registers used by each thread of this function.
|
static int |
CU_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT
On devices where the L1 cache and shared memory use the same hardware
resources, this sets the shared memory carveout preference, in percent of
the total resources.
|
static int |
CU_FUNC_ATTRIBUTE_PTX_VERSION
The PTX virtual architecture version for which the function was compiled.
|
static int |
CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES
The size in bytes of statically-allocated shared memory required by
this function.
|
Modifier and Type | Method and Description |
---|---|
static String |
stringFor(int n)
Returns the String identifying the given CUfunction_attribute
|
public static final int CU_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK
public static final int CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES
public static final int CU_FUNC_ATTRIBUTE_CONST_SIZE_BYTES
public static final int CU_FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES
public static final int CU_FUNC_ATTRIBUTE_NUM_REGS
public static final int CU_FUNC_ATTRIBUTE_PTX_VERSION
public static final int CU_FUNC_ATTRIBUTE_BINARY_VERSION
public static final int CU_FUNC_ATTRIBUTE_CACHE_MODE_CA
public static final int CU_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES
public static final int CU_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT
public static String stringFor(int n)
n
- The CUfunction_attributeCopyright © 2020. All rights reserved.