Octopus 16.0
real-space, real-time, TDDFT code
cufft.cc File Reference
#include <config.h>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <fortran_types.h>
Include dependency graph for cufft.cc:

Macros

#define CUFFT_SAFE_CALL(x)   cufft_safe_call((x), #x, __FILE__, __LINE__)
 

Typedefs

typedef int cufftHandle
 
typedef int CUdeviceptr
 
typedef int cudaStream_t
 

Functions

void FC_FUNC_ (cuda_fft_plan3d, CUDA_FFT_PLAN3D)(cufftHandle **plan
 
void FC_FUNC_ (cuda_fft_destroy, CUDA_FFT_DESTROY)(cufftHandle **plan)
 
void FC_FUNC_ (cuda_fft_execute_d2z, CUDA_FFT_EXECUTE_D2Z)(cufftHandle **plan
 

Variables

void fintnx
 
void fint fintny
 
void fint fint fintnz
 
void fint fint fint finttype
 
void fint fint fint fint cudaStream_t ** stream
 
void CUdeviceptr ** idata
 
void CUdeviceptr CUdeviceptr ** odata
 

Macro Definition Documentation

◆ CUFFT_SAFE_CALL

#define CUFFT_SAFE_CALL (   x)    cufft_safe_call((x), #x, __FILE__, __LINE__)

Typedef Documentation

◆ cufftHandle

typedef int cufftHandle

◆ CUdeviceptr

typedef int CUdeviceptr

◆ cudaStream_t

typedef int cudaStream_t

Function Documentation

◆ FC_FUNC_() [1/3]

void FC_FUNC_ ( cuda_fft_plan3d  ,
CUDA_FFT_PLAN3D   
)

◆ FC_FUNC_() [2/3]

void FC_FUNC_ ( cuda_fft_destroy  ,
CUDA_FFT_DESTROY   
)

◆ FC_FUNC_() [3/3]

void FC_FUNC_ ( cuda_fft_execute_d2z  ,
CUDA_FFT_EXECUTE_D2Z   
)

Variable Documentation

◆ nx

void fint* nx

◆ ny

void fint fint* ny

◆ nz

void fint fint fint* nz

◆ type

void fint fint fint fint* type

◆ stream

void fint fint fint fint cudaStream_t** stream
Initial value:
{
*plan = new cufftHandle
int cufftHandle
Definition: cufft.cc:69

◆ idata

void CUdeviceptr** idata

◆ odata

void CUdeviceptr CUdeviceptr** odata