ptr_offset Function

public pure function ptr_offset(ptr, n_bytes) result(new_ptr)

Returns pointer offset by n_bytes

Arguments

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

Original pointer

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

Number of bytes to offset

Return Value type(c_ptr)

New pointer


Called by

proc~~ptr_offset~~CalledByGraph proc~ptr_offset ptr_offset proc~check_aux dtfft_plan_t%check_aux proc~check_aux->proc~ptr_offset proc~compress compressor_zfp%compress proc~compress->proc~ptr_offset proc~compress~2 abstract_compressor%compress proc~compress~2->proc~ptr_offset proc~decompress compressor_zfp%decompress proc~decompress->proc~ptr_offset proc~decompress~2 abstract_compressor%decompress proc~decompress~2->proc~ptr_offset proc~execute_fused backend_mpi%execute_fused proc~execute_fused->proc~ptr_offset proc~execute~6 abstract_kernel%execute proc~execute_fused->proc~execute~6 proc~execute~3 kernel_device%execute proc~execute~3->proc~ptr_offset proc~execute_mpi backend_mpi%execute_mpi proc~execute_mpi->proc~execute_fused proc~execute_mpi->proc~execute~6 proc~execute_ptr dtfft_plan_t%execute_ptr proc~execute_ptr->proc~check_aux proc~execute~6->proc~compress~2 proc~execute~6->proc~decompress~2 proc~reshape_private dtfft_plan_t%reshape_private proc~reshape_private->proc~check_aux proc~transpose_private dtfft_plan_t%transpose_private proc~transpose_private->proc~check_aux proc~dtfft_execute_c dtfft_execute_c proc~dtfft_execute_c->proc~execute_ptr proc~execute_end~2 reshape_handle_generic%execute_end proc~execute_end~2->proc~execute~6 proc~execute_nccl backend_nccl%execute_nccl proc~execute_nccl->proc~execute~6 proc~execute_test execute_test proc~execute_test->proc~execute~6 proc~execute~2 abstract_backend%execute proc~execute~2->proc~execute~6 proc~execute~7 dtfft_plan_t%execute proc~execute~7->proc~execute_ptr proc~reshape_ptr dtfft_plan_t%reshape_ptr proc~reshape_ptr->proc~reshape_private proc~reshape_start_ptr dtfft_plan_t%reshape_start_ptr proc~reshape_start_ptr->proc~reshape_private proc~test_pack_unpack test_pack_unpack proc~test_pack_unpack->proc~execute~6 proc~test_transpose test_transpose proc~test_transpose->proc~execute~6 proc~transpose_ptr dtfft_plan_t%transpose_ptr proc~transpose_ptr->proc~transpose_private proc~transpose_start_ptr dtfft_plan_t%transpose_start_ptr proc~transpose_start_ptr->proc~transpose_private proc~dtfft_reshape_c dtfft_reshape_c proc~dtfft_reshape_c->proc~reshape_ptr proc~dtfft_reshape_start_c dtfft_reshape_start_c proc~dtfft_reshape_start_c->proc~reshape_start_ptr proc~dtfft_transpose_c dtfft_transpose_c proc~dtfft_transpose_c->proc~transpose_ptr proc~dtfft_transpose_start_c dtfft_transpose_start_c proc~dtfft_transpose_start_c->proc~transpose_start_ptr proc~execute~4 reshape_handle_generic%execute proc~execute~4->proc~execute~2 proc~reshape dtfft_plan_t%reshape proc~reshape->proc~reshape_ptr proc~reshape_start dtfft_plan_t%reshape_start proc~reshape_start->proc~reshape_start_ptr proc~transpose dtfft_plan_t%transpose proc~transpose->proc~transpose_ptr proc~transpose_start dtfft_plan_t%transpose_start proc~transpose_start->proc~transpose_start_ptr program~test_compression test_compression program~test_compression->proc~test_pack_unpack program~test_compression->proc~test_transpose program~test_device_kernels test_device_kernels program~test_device_kernels->proc~execute_test