fftw_malloc Interface Reference

fftw_malloc Interface Reference#

HIPFORT API Reference: hipfort_hipfftw::fftw_malloc Interface Reference
hipfort_hipfftw::fftw_malloc Interface Reference

Allocates a data buffer accessible by the host. More...

Public Member Functions

type(c_ptr) function fftw_malloc_ (n)
 

Detailed Description

Allocates a data buffer accessible by the host.

Parameters
[in]n- number of bytes desired for the buffer.
Returns
a pointer to the base address of the allocated memory block upon success (nullptr otherwise).
Remarks
The returned base address is at least 64-bit aligned.

Member Function/Subroutine Documentation

◆ fftw_malloc_()

type(c_ptr) function hipfort_hipfftw::fftw_malloc::fftw_malloc_ ( integer(c_size_t), value  n)

The documentation for this interface was generated from the following file: