@Properties(inherit=cudart.class) public class cudaFuncAttributes extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
cudaFuncAttributes()
Default native constructor.
|
cudaFuncAttributes(long size)
Native array allocator.
|
cudaFuncAttributes(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
binaryVersion()
The binary architecture version for which the function was compiled.
|
cudaFuncAttributes |
binaryVersion(int setter) |
int |
cacheModeCA()
The attribute to indicate whether the function has been compiled with
user specified option "-Xptxas --dlcm=ca" set.
|
cudaFuncAttributes |
cacheModeCA(int setter) |
long |
constSizeBytes()
The size in bytes of user-allocated constant memory required by this
function.
|
cudaFuncAttributes |
constSizeBytes(long setter) |
cudaFuncAttributes |
getPointer(long i) |
long |
localSizeBytes()
The size in bytes of local memory used by each thread of this function.
|
cudaFuncAttributes |
localSizeBytes(long setter) |
int |
maxDynamicSharedSizeBytes()
The maximum size in bytes of dynamic shared memory per block for
this function.
|
cudaFuncAttributes |
maxDynamicSharedSizeBytes(int setter) |
int |
maxThreadsPerBlock()
The maximum number of threads per block, beyond which a launch of the
function would fail.
|
cudaFuncAttributes |
maxThreadsPerBlock(int setter) |
int |
numRegs()
The number of registers used by each thread of this function.
|
cudaFuncAttributes |
numRegs(int setter) |
cudaFuncAttributes |
position(long position) |
int |
preferredShmemCarveout()
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 maximum shared memory.
|
cudaFuncAttributes |
preferredShmemCarveout(int setter) |
int |
ptxVersion()
The PTX virtual architecture version for which the function was
compiled.
|
cudaFuncAttributes |
ptxVersion(int setter) |
long |
sharedSizeBytes()
The size in bytes of statically-allocated shared memory per block
required by this function.
|
cudaFuncAttributes |
sharedSizeBytes(long setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic cudaFuncAttributes()
public cudaFuncAttributes(long size)
Pointer.position(long).public cudaFuncAttributes(Pointer p)
Pointer.Pointer(Pointer).public cudaFuncAttributes position(long position)
public cudaFuncAttributes getPointer(long i)
getPointer in class Pointer@Cast(value="size_t") public long sharedSizeBytes()
public cudaFuncAttributes sharedSizeBytes(long setter)
@Cast(value="size_t") public long constSizeBytes()
public cudaFuncAttributes constSizeBytes(long setter)
@Cast(value="size_t") public long localSizeBytes()
public cudaFuncAttributes localSizeBytes(long setter)
public int maxThreadsPerBlock()
public cudaFuncAttributes maxThreadsPerBlock(int setter)
public int numRegs()
public cudaFuncAttributes numRegs(int setter)
public int ptxVersion()
public cudaFuncAttributes ptxVersion(int setter)
public int binaryVersion()
public cudaFuncAttributes binaryVersion(int setter)
public int cacheModeCA()
public cudaFuncAttributes cacheModeCA(int setter)
public int maxDynamicSharedSizeBytes()
public cudaFuncAttributes maxDynamicSharedSizeBytes(int setter)
public int preferredShmemCarveout()
public cudaFuncAttributes preferredShmemCarveout(int setter)
Copyright © 2020. All rights reserved.