Gets the number of blocks and threads for a contiguous execution
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | size |
Total amount of iterations required |
||
type(dim3), | intent(out) | :: | blocks |
Grid of blocks. |
||
type(dim3), | intent(out) | :: | threads |
Thread block. |