get_plan_execution_time Function

private function get_plan_execution_time(create_kwargs, buffer_size, helper, from, to, datatype_id, transpose_name_id) result(elapsed_time)

Creates transpose plan for backend DTFFT_BACKEND_MPI_DATATYPE and executes it DTFFT_MEASURE_WARMUP_ITERS + DTFFT_MEASURE_ITERS times

Returns elapsed time

Arguments

Type IntentOptional Attributes Name
type(create_args), intent(inout) :: create_kwargs
integer(kind=int64), intent(in) :: buffer_size
type(backend_helper), intent(inout) :: helper

Backend helper

type(pencil), intent(in) :: from

Source meta

type(pencil), intent(in) :: to

Target meta

integer(kind=int8), intent(in) :: datatype_id

ID of transpose (1 or 2)

integer(kind=int8), intent(in) :: transpose_name_id

ID of transpose name (from -3 to 3, except 0)

Return Value real(kind=real32)

Execution time [ms]


Calls

proc~~get_plan_execution_time~~CallsGraph proc~get_plan_execution_time get_plan_execution_time interface~to_str to_str proc~get_plan_execution_time->interface~to_str proc~allocate_plans allocate_plans proc~get_plan_execution_time->proc~allocate_plans proc~create abstract_reshape_handle%create proc~get_plan_execution_time->proc~create proc~destroy_plans destroy_plans proc~get_plan_execution_time->proc~destroy_plans proc~execute_autotune execute_autotune proc~get_plan_execution_time->proc~execute_autotune proc~get_conf_log_enabled get_conf_log_enabled proc~get_plan_execution_time->proc~get_conf_log_enabled proc~pop_nvtx_domain_range pop_nvtx_domain_range proc~get_plan_execution_time->proc~pop_nvtx_domain_range proc~push_nvtx_domain_range push_nvtx_domain_range proc~get_plan_execution_time->proc~push_nvtx_domain_range proc~write_message write_message proc~get_plan_execution_time->proc~write_message proc~double_to_string double_to_string interface~to_str->proc~double_to_string proc~float_to_string float_to_string interface~to_str->proc~float_to_string proc~int32_to_string int32_to_string interface~to_str->proc~int32_to_string proc~int64_to_string int64_to_string interface~to_str->proc~int64_to_string proc~int8_to_string int8_to_string interface~to_str->proc~int8_to_string create_private create_private proc~create->create_private proc~get_reshape_type get_reshape_type proc~create->proc~get_reshape_type proc~get_transpose_type get_transpose_type proc~create->proc~get_transpose_type proc~is_valid_reshape_type is_valid_reshape_type proc~create->proc~is_valid_reshape_type proc~is_valid_transpose_type is_valid_transpose_type proc~create->proc~is_valid_transpose_type destroy destroy proc~destroy_plans->destroy execute execute proc~execute_autotune->execute fname fname proc~execute_autotune->fname interface~cudaeventcreate cudaEventCreate proc~execute_autotune->interface~cudaeventcreate interface~cudaeventdestroy cudaEventDestroy proc~execute_autotune->interface~cudaeventdestroy interface~cudaeventelapsedtime cudaEventElapsedTime proc~execute_autotune->interface~cudaeventelapsedtime interface~cudaeventrecord cudaEventRecord proc~execute_autotune->interface~cudaeventrecord interface~cudaeventsynchronize cudaEventSynchronize proc~execute_autotune->interface~cudaeventsynchronize interface~cudastreamsynchronize cudaStreamSynchronize proc~execute_autotune->interface~cudastreamsynchronize mpi_abort mpi_abort proc~execute_autotune->mpi_abort mpi_wtime mpi_wtime proc~execute_autotune->mpi_wtime proc~alloc_and_set_aux alloc_and_set_aux proc~execute_autotune->proc~alloc_and_set_aux proc~alloc_mem alloc_mem proc~execute_autotune->proc~alloc_mem proc~cudageterrorstring cudaGetErrorString proc~execute_autotune->proc~cudageterrorstring proc~dtfft_get_error_string dtfft_get_error_string proc~execute_autotune->proc~dtfft_get_error_string proc~free_mem free_mem proc~execute_autotune->proc~free_mem proc~get_conf_measure_iters get_conf_measure_iters proc~execute_autotune->proc~get_conf_measure_iters proc~get_conf_measure_warmup_iters get_conf_measure_warmup_iters proc~execute_autotune->proc~get_conf_measure_warmup_iters proc~report_timings report_timings proc~execute_autotune->proc~report_timings interface~get_conf_internal get_conf_internal proc~get_conf_log_enabled->interface~get_conf_internal interface~nvtxdomainrangepop_c nvtxDomainRangePop_c proc~pop_nvtx_domain_range->interface~nvtxdomainrangepop_c interface~nvtxdomainrangepushex_c nvtxDomainRangePushEx_c proc~push_nvtx_domain_range->interface~nvtxdomainrangepushex_c proc~astring_f2c astring_f2c proc~push_nvtx_domain_range->proc~astring_f2c proc~create_nvtx_domain create_nvtx_domain proc~push_nvtx_domain_range->proc~create_nvtx_domain mpi_comm_rank mpi_comm_rank proc~write_message->mpi_comm_rank mpi_finalized mpi_finalized proc~write_message->mpi_finalized proc~get_conf_internal_int32 get_conf_internal_int32 interface~get_conf_internal->proc~get_conf_internal_int32 proc~get_conf_internal_logical get_conf_internal_logical interface~get_conf_internal->proc~get_conf_internal_logical proc~alloc_and_set_aux->mpi_abort proc~alloc_and_set_aux->proc~alloc_mem proc~alloc_and_set_aux->proc~dtfft_get_error_string mpi_allreduce mpi_allreduce proc~alloc_and_set_aux->mpi_allreduce proc~get_aux_bytes_generic get_aux_bytes_generic proc~alloc_and_set_aux->proc~get_aux_bytes_generic proc~alloc_mem->interface~to_str proc~alloc_mem->proc~get_conf_log_enabled proc~alloc_mem->proc~write_message proc~alloc_mem->fname proc~alloc_mem->mpi_abort proc~alloc_mem->proc~cudageterrorstring interface~cudamalloc cudaMalloc proc~alloc_mem->interface~cudamalloc interface~cudamemgetinfo cudaMemGetInfo proc~alloc_mem->interface~cudamemgetinfo interface~ncclcommregister ncclCommRegister proc~alloc_mem->interface~ncclcommregister interface~ncclmemalloc ncclMemAlloc proc~alloc_mem->interface~ncclmemalloc interface~nvshmem_malloc nvshmem_malloc proc~alloc_mem->interface~nvshmem_malloc is_null_ptr is_null_ptr proc~alloc_mem->is_null_ptr proc~alloc_mem->mpi_allreduce proc~dtfft_get_backend_string dtfft_get_backend_string proc~alloc_mem->proc~dtfft_get_backend_string proc~is_backend_nccl is_backend_nccl proc~alloc_mem->proc~is_backend_nccl proc~is_backend_nvshmem is_backend_nvshmem proc~alloc_mem->proc~is_backend_nvshmem proc~mem_alloc_host mem_alloc_host proc~alloc_mem->proc~mem_alloc_host proc~ncclgeterrorstring ncclGetErrorString proc~alloc_mem->proc~ncclgeterrorstring temp temp proc~alloc_mem->temp proc~string_f2c string_f2c proc~astring_f2c->proc~string_f2c proc~create_nvtx_domain->proc~astring_f2c interface~nvtxdomaincreate_c nvtxDomainCreate_c proc~create_nvtx_domain->interface~nvtxdomaincreate_c interface~cudageterrorstring_c cudaGetErrorString_c proc~cudageterrorstring->interface~cudageterrorstring_c proc~string_c2f string_c2f proc~cudageterrorstring->proc~string_c2f proc~free_mem->interface~to_str proc~free_mem->proc~get_conf_log_enabled proc~free_mem->proc~write_message proc~free_mem->fname proc~free_mem->mpi_abort interface~cudafree cudaFree proc~free_mem->interface~cudafree interface~mem_free_host mem_free_host proc~free_mem->interface~mem_free_host interface~ncclcommderegister ncclCommDeregister proc~free_mem->interface~ncclcommderegister interface~ncclmemfree ncclMemFree proc~free_mem->interface~ncclmemfree nvshmem_free nvshmem_free proc~free_mem->nvshmem_free proc~free_mem->proc~is_backend_nccl proc~free_mem->proc~is_backend_nvshmem proc~is_same_ptr is_same_ptr proc~free_mem->proc~is_same_ptr proc~free_mem->proc~ncclgeterrorstring proc~get_conf_measure_iters->interface~get_conf_internal proc~get_conf_measure_warmup_iters->interface~get_conf_internal proc~report_timings->interface~to_str proc~report_timings->proc~get_conf_log_enabled proc~report_timings->proc~write_message proc~report_timings->mpi_allreduce mpi_comm_size mpi_comm_size proc~report_timings->mpi_comm_size proc~get_aux_bytes abstract_reshape_handle%get_aux_bytes proc~get_aux_bytes_generic->proc~get_aux_bytes interface~aligned_alloc aligned_alloc proc~mem_alloc_host->interface~aligned_alloc proc~ncclgeterrorstring->proc~string_c2f interface~ncclgeterrorstring_c ncclGetErrorString_c proc~ncclgeterrorstring->interface~ncclgeterrorstring_c interface~is_null_ptr is_null_ptr proc~string_c2f->interface~is_null_ptr interface~is_null_ptr->interface~is_null_ptr proc~is_null_funptr is_null_funptr interface~is_null_ptr->proc~is_null_funptr

Called by

proc~~get_plan_execution_time~~CalledByGraph proc~get_plan_execution_time get_plan_execution_time proc~autotune_transpose_id autotune_transpose_id proc~autotune_transpose_id->proc~get_plan_execution_time proc~run_autotune_datatypes run_autotune_datatypes proc~run_autotune_datatypes->proc~autotune_transpose_id proc~run_autotune_backend run_autotune_backend proc~run_autotune_backend->proc~run_autotune_datatypes proc~autotune_grid autotune_grid proc~autotune_grid->proc~run_autotune_backend 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~autotune_grid_decomposition->proc~autotune_grid