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~to_str to_str proc~create_device_pointer->interface~to_str mpi_abort mpi_abort proc~create_device_pointer->mpi_abort proc~cudageterrorstring cudaGetErrorString proc~create_device_pointer->proc~cudageterrorstring 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 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~4 nvrtc_kernel%create proc~create~4->proc~create_device_pointer proc~create~9 transpose_handle_cuda%create proc~create~9->proc~create~4