estimate_memory_pressure Function

private function estimate_memory_pressure(dims, tile_dim, other_dim, base_storage, props) result(pressure)

Analytical estimation of memory pressure based on GPU architecture

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: dims(:)

Size of the problem

integer(kind=int32), intent(in) :: tile_dim

Tile dimension

integer(kind=int32), intent(in) :: other_dim

Other dimension (not tiled)

integer(kind=int64), intent(in) :: base_storage

Number of bytes needed to store single element

type(device_props), intent(in) :: props

GPU architecture properties

Return Value real(kind=real32)

Pressure metric


Called by

proc~~estimate_memory_pressure~~CalledByGraph proc~estimate_memory_pressure estimate_memory_pressure proc~generate_candidates generate_candidates proc~generate_candidates->proc~estimate_memory_pressure proc~get_kernel get_kernel proc~get_kernel->proc~generate_candidates proc~create~4 nvrtc_kernel%create proc~create~4->proc~get_kernel proc~create~9 transpose_handle_cuda%create proc~create~9->proc~create~4