| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | ptr |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=c_int) | :: | count |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr) | :: | ptr | ||||
| integer(kind=c_size_t), | value | :: | mySize |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=c_size_t) | :: | freeBytes | ||||
| integer(kind=c_size_t) | :: | totalBytes |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | dest | |||
| type(c_ptr), | value | :: | src | |||
| integer(kind=c_size_t), | value | :: | sizeBytes | |||
| integer(kind=c_int), | value | :: | myKind |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | ptr | |||
| integer(kind=c_int), | value | :: | value | |||
| integer(kind=c_size_t), | value | :: | sizeBytes |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=c_int), | value | :: | device_id |
High-water-mark device allocation (AMR Stage 6b). Grows ptr to hold neededBytes, reusing the existing allocation when it already does, and records the capacity in allocBytes. Contents are not preserved across a growth - every caller rewrites the buffer before reading it.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | intent(inout) | :: | ptr | |||
| integer(kind=c_size_t), | intent(inout) | :: | allocBytes | |||
| integer(kind=c_size_t), | intent(in) | :: | neededBytes |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=c_int) | :: | gpuError_t |