@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) |
int |
clusterDimMustBeSet()
If this attribute is set, the kernel must launch with a valid cluster dimension
specified.
|
cudaFuncAttributes |
clusterDimMustBeSet(int setter) |
int |
clusterSchedulingPolicyPreference()
The block scheduling policy of a function.
|
cudaFuncAttributes |
clusterSchedulingPolicyPreference(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 |
nonPortableClusterSizeAllowed()
Whether the function can be launched with non-portable cluster size.
|
cudaFuncAttributes |
nonPortableClusterSizeAllowed(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) |
int |
requiredClusterDepth() |
cudaFuncAttributes |
requiredClusterDepth(int setter) |
int |
requiredClusterHeight() |
cudaFuncAttributes |
requiredClusterHeight(int setter) |
int |
requiredClusterWidth()
The required cluster width/height/depth in blocks.
|
cudaFuncAttributes |
requiredClusterWidth(int setter) |
IntPointer |
reserved() |
int |
reserved(int i)
Reserved for future use.
|
cudaFuncAttributes |
reserved(int i,
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, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public cudaFuncAttributes()
public cudaFuncAttributes(long size)
Pointer.position(long)
.public cudaFuncAttributes(Pointer p)
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)
public int clusterDimMustBeSet()
public cudaFuncAttributes clusterDimMustBeSet(int setter)
public int requiredClusterWidth()
public cudaFuncAttributes requiredClusterWidth(int setter)
public int requiredClusterHeight()
public cudaFuncAttributes requiredClusterHeight(int setter)
public int requiredClusterDepth()
public cudaFuncAttributes requiredClusterDepth(int setter)
public int clusterSchedulingPolicyPreference()
public cudaFuncAttributes clusterSchedulingPolicyPreference(int setter)
public int nonPortableClusterSizeAllowed()
public cudaFuncAttributes nonPortableClusterSizeAllowed(int setter)
public int reserved(int i)
public cudaFuncAttributes reserved(int i, int setter)
@MemberGetter public IntPointer reserved()
Copyright © 2024. All rights reserved.