Device on which data can be allocated
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=c_int), | public | :: | type | = | VesinUnknownDevice |
Device type (VesinUnknownDevice, VesinCPU, etc.) |
|
| integer(kind=c_int), | public | :: | device_id | = | 0 |
Device index (0 for CPU, GPU index for CUDA) |