aligned_alloc Interface

interface


Called by

interface~~aligned_alloc~~CalledByGraph interface~aligned_alloc aligned_alloc proc~mem_alloc_host mem_alloc_host proc~mem_alloc_host->interface~aligned_alloc proc~alloc_mem alloc_mem proc~alloc_mem->proc~mem_alloc_host proc~compile_program compile_program proc~compile_program->proc~mem_alloc_host proc~create~13 nvrtc_module%create proc~create~13->proc~mem_alloc_host proc~create~13->proc~compile_program proc~mem_alloc_ptr dtfft_plan_t%mem_alloc_ptr proc~mem_alloc_ptr->proc~mem_alloc_host proc~alloc_and_set_aux alloc_and_set_aux proc~alloc_and_set_aux->proc~alloc_mem proc~check_aux dtfft_plan_t%check_aux proc~check_aux->proc~mem_alloc_ptr proc~create_nvrtc_module create_nvrtc_module proc~create_nvrtc_module->proc~create~13 proc~dtfft_mem_alloc_c dtfft_mem_alloc_c proc~dtfft_mem_alloc_c->proc~mem_alloc_ptr proc~mem_alloc transpose_plan%mem_alloc proc~mem_alloc->proc~alloc_mem proc~mem_alloc_c32_1d dtfft_plan_t%mem_alloc_c32_1d proc~mem_alloc_c32_1d->proc~mem_alloc_ptr proc~mem_alloc_c32_2d dtfft_plan_t%mem_alloc_c32_2d proc~mem_alloc_c32_2d->proc~mem_alloc_ptr proc~mem_alloc_c32_3d dtfft_plan_t%mem_alloc_c32_3d proc~mem_alloc_c32_3d->proc~mem_alloc_ptr proc~mem_alloc_c64_1d dtfft_plan_t%mem_alloc_c64_1d proc~mem_alloc_c64_1d->proc~mem_alloc_ptr proc~mem_alloc_c64_2d dtfft_plan_t%mem_alloc_c64_2d proc~mem_alloc_c64_2d->proc~mem_alloc_ptr proc~mem_alloc_c64_3d dtfft_plan_t%mem_alloc_c64_3d proc~mem_alloc_c64_3d->proc~mem_alloc_ptr proc~mem_alloc_r32_1d dtfft_plan_t%mem_alloc_r32_1d proc~mem_alloc_r32_1d->proc~mem_alloc_ptr proc~mem_alloc_r32_2d dtfft_plan_t%mem_alloc_r32_2d proc~mem_alloc_r32_2d->proc~mem_alloc_ptr proc~mem_alloc_r32_3d dtfft_plan_t%mem_alloc_r32_3d proc~mem_alloc_r32_3d->proc~mem_alloc_ptr proc~mem_alloc_r64_1d dtfft_plan_t%mem_alloc_r64_1d proc~mem_alloc_r64_1d->proc~mem_alloc_ptr proc~mem_alloc_r64_2d dtfft_plan_t%mem_alloc_r64_2d proc~mem_alloc_r64_2d->proc~mem_alloc_ptr proc~mem_alloc_r64_3d dtfft_plan_t%mem_alloc_r64_3d proc~mem_alloc_r64_3d->proc~mem_alloc_ptr proc~run_autotune_backend run_autotune_backend proc~run_autotune_backend->proc~alloc_mem proc~run_autotune_backend->proc~alloc_and_set_aux proc~autotune_grid autotune_grid proc~autotune_grid->proc~run_autotune_backend proc~create transpose_plan%create proc~create->proc~alloc_and_set_aux proc~create->proc~run_autotune_backend proc~autotune_grid_decomposition autotune_grid_decomposition proc~create->proc~autotune_grid_decomposition proc~execute_ptr dtfft_plan_t%execute_ptr proc~execute_ptr->proc~check_aux proc~get_kernel get_kernel proc~get_kernel->proc~create_nvrtc_module proc~autotune_grid_decomposition->proc~autotune_grid proc~create~8 kernel_device%create proc~create~8->proc~get_kernel proc~dtfft_execute_c dtfft_execute_c proc~dtfft_execute_c->proc~execute_ptr proc~execute~11 dtfft_plan_t%execute proc~execute~11->proc~execute_ptr

private function aligned_alloc(alignment, alloc_size) result(ptr) bind(C)

Arguments

Type IntentOptional Attributes Name
integer(kind=c_size_t), value :: alignment

Alignment in bytes (16 bytes by default)

integer(kind=c_size_t), value :: alloc_size

Number of bytes to allocate

Return Value type(c_ptr)

Pointer to allocate

Description

Allocates memory using C11 Standard alloc_align with 16 bytes alignment