cudaEventElapsedTime Interface

interface


Called by

interface~~cudaeventelapsedtime~~CalledByGraph interface~cudaeventelapsedtime cudaEventElapsedTime proc~get_kernel get_kernel proc~get_kernel->interface~cudaeventelapsedtime proc~run_autotune_backend run_autotune_backend proc~run_autotune_backend->interface~cudaeventelapsedtime proc~autotune_grid~2 autotune_grid proc~autotune_grid~2->proc~run_autotune_backend proc~create_cuda transpose_plan_cuda%create_cuda proc~create_cuda->proc~run_autotune_backend proc~autotune_grid_decomposition~2 autotune_grid_decomposition proc~create_cuda->proc~autotune_grid_decomposition~2 proc~create~4 nvrtc_kernel%create proc~create~4->proc~get_kernel proc~autotune_grid_decomposition~2->proc~autotune_grid~2 proc~create~9 transpose_handle_cuda%create proc~create~9->proc~create~4

public function cudaEventElapsedTime(time, start, end) result(cudaError_t) bind(C, name="cudaEventElapsedTime")

Arguments

Type IntentOptional Attributes Name
real(kind=c_float) :: time

Elapsed time in milliseconds

type(cudaEvent), value :: start

Starting event

type(cudaEvent), value :: end

Ending event

Return Value integer(kind=c_int)

Returns cudaSuccess if the elapsed time was computed successfully, or an error code if there was an issue.

Description

Computes the elapsed time between two events.