create_device_pointer Subroutine

private subroutine create_device_pointer(ptr, values)

Uses

  • proc~~create_device_pointer~~UsesGraph proc~create_device_pointer create_device_pointer iso_c_binding iso_c_binding proc~create_device_pointer->iso_c_binding iso_fortran_env iso_fortran_env proc~create_device_pointer->iso_fortran_env

Allocates memory on a device and copies values to it.

Arguments

Type IntentOptional Attributes Name
type(c_ptr), intent(inout) :: ptr

Device pointer

integer(kind=c_int), intent(in), target :: values(:)

Values to copy


Calls

proc~~create_device_pointer~~CallsGraph proc~create_device_pointer create_device_pointer interface~cudamalloc cudaMalloc proc~create_device_pointer->interface~cudamalloc interface~cudamemcpy cudaMemcpy proc~create_device_pointer->interface~cudamemcpy interface~int_to_str int_to_str proc~create_device_pointer->interface~int_to_str mpi_abort mpi_abort proc~create_device_pointer->mpi_abort proc~cudageterrorstring cudaGetErrorString proc~create_device_pointer->proc~cudageterrorstring proc~int_to_str_int32 int_to_str_int32 interface~int_to_str->proc~int_to_str_int32 proc~int_to_str_int64 int_to_str_int64 interface~int_to_str->proc~int_to_str_int64 proc~int_to_str_int8 int_to_str_int8 interface~int_to_str->proc~int_to_str_int8 interface~cudageterrorstring_c cudaGetErrorString_c proc~cudageterrorstring->interface~cudageterrorstring_c proc~string_c2f string_c2f proc~cudageterrorstring->proc~string_c2f

Called by

proc~~create_device_pointer~~CalledByGraph proc~create_device_pointer create_device_pointer proc~create~2 nvrtc_kernel%create proc~create~2->proc~create_device_pointer proc~create~7 transpose_handle_cuda%create proc~create~7->proc~create~2