select_kernel Function

private function select_kernel(kernel, base_storage) result(fun)

Uses

  • proc~~select_kernel~~UsesGraph proc~select_kernel select_kernel iso_fortran_env iso_fortran_env proc~select_kernel->iso_fortran_env

Selects the kernel implementation based on the given id and base storage size

Arguments

Type IntentOptional Attributes Name
type(host_kernel_t), intent(in) :: kernel

Kernel id

integer(kind=int64), intent(in) :: base_storage

Size of single element in bytes

Return Value procedure(execute_host_interface), pointer

Selected kernel implementation


Calls

proc~~select_kernel~~CallsGraph proc~select_kernel select_kernel interface~to_str to_str proc~select_kernel->interface~to_str mpi_abort mpi_abort proc~select_kernel->mpi_abort proc~write_message write_message proc~select_kernel->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 mpi_comm_rank mpi_comm_rank proc~write_message->mpi_comm_rank mpi_finalized mpi_finalized proc~write_message->mpi_finalized

Called by

proc~~select_kernel~~CalledByGraph proc~select_kernel select_kernel proc~create_host kernel_host%create_host proc~create_host->proc~select_kernel