mark_unused Subroutine

private subroutine mark_unused(kernel)

Takes CUDA kernel as an argument and searches for it in cache If kernel is found than reduces ref_count and return null pointer

Arguments

Type IntentOptional Attributes Name
type(CUfunction), intent(inout) :: kernel

CUDA kernel to search for


Calls

proc~~mark_unused~~CallsGraph proc~mark_unused mark_unused proc~is_same_ptr is_same_ptr proc~mark_unused->proc~is_same_ptr

Called by

proc~~mark_unused~~CalledByGraph proc~mark_unused mark_unused proc~destroy~3 nvrtc_kernel%destroy proc~destroy~3->proc~mark_unused proc~create~2 nvrtc_kernel%create proc~create~2->proc~destroy~3 proc~destroy~7 transpose_handle_cuda%destroy proc~destroy~7->proc~destroy~3 proc~create~7 transpose_handle_cuda%create proc~create~7->proc~create~2 proc~destroy_cuda transpose_plan_cuda%destroy_cuda proc~destroy_cuda->proc~destroy~7 proc~run_autotune_backend run_autotune_backend proc~run_autotune_backend->proc~destroy~7 proc~autotune_grid autotune_grid proc~autotune_grid->proc~run_autotune_backend proc~create_cuda transpose_plan_cuda%create_cuda proc~create_cuda->proc~run_autotune_backend proc~autotune_grid_decomposition autotune_grid_decomposition proc~create_cuda->proc~autotune_grid_decomposition proc~autotune_grid_decomposition->proc~autotune_grid