7.11. cudaDevSmResource Struct Reference

[Data types used by CUDA Runtime]

Data for SM-related resources All parameters in this structure are OUTPUT only. Do not write to any of the fields in this structure.

Public Variables

unsigned int  flags
unsigned int  minSmPartitionSize
unsigned int  smCoscheduledAlignment
unsigned int  smCount

Variables

unsigned int cudaDevSmResource::flags [inherited]

The flags set on this SM resource. For available flags see cudaDevSmResourceGroup_flags.

unsigned int cudaDevSmResource::minSmPartitionSize [inherited]

The minimum number of streaming multiprocessors required to partition this resource.

unsigned int cudaDevSmResource::smCoscheduledAlignment [inherited]

The number of streaming multiprocessors in this resource that are guaranteed to be co-scheduled on the same GPU processing cluster. smCount will be a multiple of this value, unless the backfill flag is set.

unsigned int cudaDevSmResource::smCount [inherited]

The amount of streaming multiprocessors available in this resource.