Returns the CUDA architecture for a given device.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=c_int), | value | :: | device |
Device number |
||
integer(kind=c_int) | :: | major |
Major compute capability |
|||
integer(kind=c_int) | :: | minor |
Minor compute capability |