astring_f2c Subroutine

public subroutine astring_f2c(fstring, cstring, string_size)

Convert Fortran string to C allocatable string

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: fstring

Fortran string

character(kind=c_char, len=1), intent(out), allocatable :: cstring(:)

C string

integer(kind=int64), intent(out), optional :: string_size

Size of the C string


Calls

proc~~astring_f2c~~CallsGraph proc~astring_f2c astring_f2c proc~string_f2c string_f2c proc~astring_f2c->proc~string_f2c

Called by

proc~~astring_f2c~~CalledByGraph proc~astring_f2c astring_f2c proc~compile_program compile_program proc~compile_program->proc~astring_f2c proc~set_name_expression set_name_expression proc~compile_program->proc~set_name_expression proc~create_nvtx_domain create_nvtx_domain proc~create_nvtx_domain->proc~astring_f2c proc~get_name_expression get_name_expression proc~get_name_expression->proc~astring_f2c proc~load_library load_library proc~load_library->proc~astring_f2c proc~load_symbol load_symbol proc~load_symbol->proc~astring_f2c proc~push_nvtx_domain_range push_nvtx_domain_range proc~push_nvtx_domain_range->proc~astring_f2c proc~push_nvtx_domain_range->proc~create_nvtx_domain proc~autotune_grid autotune_grid proc~autotune_grid->proc~push_nvtx_domain_range proc~run_autotune_backend run_autotune_backend proc~autotune_grid->proc~run_autotune_backend proc~create_c2c_internal dtfft_plan_c2c_t%create_c2c_internal proc~create_c2c_internal->proc~push_nvtx_domain_range proc~create_host kernel_host%create_host proc~create_host->proc~push_nvtx_domain_range proc~execute_benchmark kernel_host%execute_benchmark proc~create_host->proc~execute_benchmark proc~select_access_mode_f128 kernel_host%select_access_mode_f128 proc~create_host->proc~select_access_mode_f128 proc~select_access_mode_f32 kernel_host%select_access_mode_f32 proc~create_host->proc~select_access_mode_f32 proc~select_access_mode_f64 kernel_host%select_access_mode_f64 proc~create_host->proc~select_access_mode_f64 proc~create_r2c_internal dtfft_plan_r2c_t%create_r2c_internal proc~create_r2c_internal->proc~push_nvtx_domain_range proc~create_r2r_internal dtfft_plan_r2r_t%create_r2r_internal proc~create_r2r_internal->proc~push_nvtx_domain_range proc~create~13 nvrtc_module%create proc~create~13->proc~compile_program proc~create~13->proc~push_nvtx_domain_range proc~create~6 abstract_executor%create proc~create~6->proc~push_nvtx_domain_range proc~destroy~13 dtfft_plan_t%destroy proc~destroy~13->proc~push_nvtx_domain_range proc~dynamic_load dynamic_load proc~dynamic_load->proc~load_library proc~dynamic_load->proc~load_symbol proc~execute transpose_plan%execute proc~execute->proc~push_nvtx_domain_range proc~execute_benchmark->proc~push_nvtx_domain_range proc~execute_ptr dtfft_plan_t%execute_ptr proc~execute_ptr->proc~push_nvtx_domain_range proc~execute_private dtfft_plan_t%execute_private proc~execute_ptr->proc~execute_private proc~execute~2 abstract_kernel%execute proc~execute~2->proc~push_nvtx_domain_range proc~execute~5 abstract_executor%execute proc~execute~5->proc~push_nvtx_domain_range proc~get_kernel get_kernel proc~get_kernel->proc~push_nvtx_domain_range proc~create_nvrtc_module create_nvrtc_module proc~get_kernel->proc~create_nvrtc_module proc~get_kernel_instance get_kernel_instance proc~get_kernel->proc~get_kernel_instance proc~get_mangled_name get_mangled_name proc~get_mangled_name->proc~get_name_expression proc~get_plan_execution_time get_plan_execution_time proc~get_plan_execution_time->proc~push_nvtx_domain_range proc~run_autotune_backend->proc~push_nvtx_domain_range proc~run_autotune_datatypes run_autotune_datatypes proc~run_autotune_backend->proc~run_autotune_datatypes proc~select_access_mode_f128->proc~push_nvtx_domain_range proc~select_access_mode_f128->proc~execute_benchmark proc~select_access_mode_f32->proc~push_nvtx_domain_range proc~select_access_mode_f32->proc~execute_benchmark proc~select_access_mode_f64->proc~push_nvtx_domain_range proc~select_access_mode_f64->proc~execute_benchmark proc~set_name_expression->proc~get_name_expression proc~transpose_end dtfft_plan_t%transpose_end proc~transpose_end->proc~push_nvtx_domain_range proc~transpose_ptr dtfft_plan_t%transpose_ptr proc~transpose_ptr->proc~push_nvtx_domain_range proc~transpose_private dtfft_plan_t%transpose_private proc~transpose_ptr->proc~transpose_private proc~transpose_start_ptr dtfft_plan_t%transpose_start_ptr proc~transpose_start_ptr->proc~push_nvtx_domain_range proc~transpose_start_ptr->proc~transpose_private proc~autotune_grid_decomposition autotune_grid_decomposition proc~autotune_grid_decomposition->proc~autotune_grid proc~autotune_transpose_id autotune_transpose_id proc~autotune_transpose_id->proc~get_plan_execution_time proc~create transpose_plan%create proc~create->proc~run_autotune_backend proc~create->proc~autotune_grid_decomposition proc~load_cuda load_cuda proc~create->proc~load_cuda proc~load_nvrtc load_nvrtc proc~create->proc~load_nvrtc proc~create_c2c dtfft_plan_c2c_t%create_c2c proc~create_c2c->proc~create_c2c_internal proc~create_c2c_pencil dtfft_plan_c2c_t%create_c2c_pencil proc~create_c2c_pencil->proc~create_c2c_internal proc~create_nvrtc_module->proc~create~13 proc~create_r2c dtfft_plan_r2c_t%create_r2c proc~create_r2c->proc~create_r2c_internal proc~create_r2c_pencil dtfft_plan_r2c_t%create_r2c_pencil proc~create_r2c_pencil->proc~create_r2c_internal proc~create_r2r dtfft_plan_r2r_t%create_r2r proc~create_r2r->proc~create_r2r_internal proc~create_r2r_pencil dtfft_plan_r2r_t%create_r2r_pencil proc~create_r2r_pencil->proc~create_r2r_internal proc~create~8 kernel_device%create proc~create~8->proc~get_kernel proc~dtfft_destroy_c dtfft_destroy_c proc~dtfft_destroy_c->proc~destroy~13 proc~dtfft_execute_c dtfft_execute_c proc~dtfft_execute_c->proc~execute_ptr proc~dtfft_transpose_c dtfft_transpose_c proc~dtfft_transpose_c->proc~transpose_ptr proc~dtfft_transpose_end_c dtfft_transpose_end_c proc~dtfft_transpose_end_c->proc~transpose_end proc~dtfft_transpose_start_c dtfft_transpose_start_c proc~dtfft_transpose_start_c->proc~transpose_start_ptr proc~execute_2d dtfft_plan_t%execute_2d proc~execute_2d->proc~execute proc~execute_end~2 transpose_handle_generic%execute_end proc~execute_end~2->proc~execute~2 proc~execute_generic dtfft_plan_t%execute_generic proc~execute_generic->proc~execute proc~execute_mpi backend_mpi%execute_mpi proc~execute_mpi->proc~execute~2 proc~execute_nccl backend_nccl%execute_nccl proc~execute_nccl->proc~execute~2 proc~execute_z_slab dtfft_plan_t%execute_z_slab proc~execute_z_slab->proc~execute proc~execute_z_slab->proc~execute_generic proc~execute~11 dtfft_plan_t%execute proc~execute~11->proc~execute_ptr proc~execute~12 abstract_backend%execute proc~execute~12->proc~execute~2 proc~execute~3 transpose_handle_generic%execute proc~execute~3->proc~execute~2 proc~get nvrtc_module%get proc~get->proc~get_mangled_name proc~load load proc~load->proc~dynamic_load proc~load_cuda->proc~dynamic_load proc~load_nvrtc->proc~dynamic_load proc~transpose dtfft_plan_t%transpose proc~transpose->proc~transpose_ptr proc~transpose_private->proc~execute proc~transpose_start dtfft_plan_t%transpose_start proc~transpose_start->proc~transpose_start_ptr proc~execute_private->proc~execute_2d proc~execute_private->proc~execute_generic proc~execute_private->proc~execute_z_slab proc~get_kernel_instance->proc~get proc~load_vkfft load_vkfft proc~load_vkfft->proc~load proc~run_autotune_datatypes->proc~autotune_transpose_id proc~create~14 vkfft_executor%create proc~create~14->proc~load_vkfft