Estimates the optimal padding for a given tile size and element size
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | tile_size |
Size of the tile |
||
integer(kind=int32), | intent(in) | :: | block_rows |
Number of rows in the block |
||
integer(kind=int64), | intent(in) | :: | base_storage |
Number of bytes needed to store single element |
Optimal padding to reduce bank conflicts