| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=c_int), | public, | parameter | :: | cudaMemAttachGlobal | = | 1 | |
| integer(kind=c_int), | public, | parameter | :: | cudaMemAttachHost | = | 2 | |
| integer(kind=c_int), | public, | parameter | :: | cudaMemAttachSingle | = | 4 |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=c_int), | intent(out) | :: | val | |||
| integer(kind=c_int), | value | :: | attr | |||
| integer(kind=c_int), | value | :: | device |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | dPtr |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=c_int), | intent(out) | :: | val |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | intent(out) | :: | dPtr | |||
| integer(kind=c_size_t), | value | :: | size | |||
| integer(kind=c_int), | value | :: | flags |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(out) | :: | val | |||
| integer(kind=int32), | intent(in) | :: | attr | |||
| integer(kind=int32), | intent(in) | :: | device |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(out) | :: | val |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | intent(inout) | :: | dPtr |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int64), | intent(in) | :: | nbytes | |||
| type(c_ptr), | intent(inout) | :: | dPtr |
Get information about GPU
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | devID |