cudaEventElapsedTime Interface

interface


Called by

interface~~cudaeventelapsedtime~~CalledByGraph interface~cudaeventelapsedtime cudaEventElapsedTime proc~execute_autotune execute_autotune proc~execute_autotune->interface~cudaeventelapsedtime proc~get_kernel get_kernel proc~get_kernel->interface~cudaeventelapsedtime proc~autotune_reshape_plan autotune_reshape_plan proc~autotune_reshape_plan->proc~execute_autotune proc~create~7 kernel_device%create proc~create~7->proc~get_kernel proc~get_plan_execution_time get_plan_execution_time proc~get_plan_execution_time->proc~execute_autotune proc~run_autotune_backend run_autotune_backend proc~run_autotune_backend->proc~execute_autotune proc~run_autotune_datatypes run_autotune_datatypes proc~run_autotune_backend->proc~run_autotune_datatypes proc~autotune_grid autotune_grid proc~autotune_grid->proc~run_autotune_backend proc~autotune_transpose_id autotune_transpose_id proc~autotune_transpose_id->proc~get_plan_execution_time proc~create~16 transpose_plan%create proc~create~16->proc~run_autotune_backend proc~autotune_grid_decomposition autotune_grid_decomposition proc~create~16->proc~autotune_grid_decomposition proc~create~9 reshape_plan%create proc~create~9->proc~autotune_reshape_plan proc~autotune_grid_decomposition->proc~autotune_grid proc~run_autotune_datatypes->proc~autotune_transpose_id

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.