cudaStreamSynchronize Interface

interface


Called by

interface~~cudastreamsynchronize~~CalledByGraph interface~cudastreamsynchronize cudaStreamSynchronize proc~execute_autotune execute_autotune proc~execute_autotune->interface~cudastreamsynchronize proc~execute_mpi backend_mpi%execute_mpi proc~execute_mpi->interface~cudastreamsynchronize proc~execute~7 kernel_device%execute proc~execute~7->interface~cudastreamsynchronize proc~execute~8 backend_cufftmp%execute proc~execute~8->interface~cudastreamsynchronize proc~execute~9 abstract_backend%execute proc~execute~9->interface~cudastreamsynchronize proc~get_kernel get_kernel proc~get_kernel->interface~cudastreamsynchronize 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~execute~12 reshape_handle_generic%execute proc~execute~12->proc~execute~9 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 cudaStreamSynchronize(stream) result(cudaError_t) bind(C, name="cudaStreamSynchronize")

Arguments

Type IntentOptional Attributes Name
type(dtfft_stream_t), value :: stream

Stream identifier

Return Value integer(kind=c_int)

Returns cudaSuccess if the stream tasks completed successfully, or an error code if there was an issue.

Description

Waits for stream tasks to complete.