LAL  7.5.0.1-ec27e42
CudaFunctions.h File Reference

Prototypes

REAL4XLALCudaMallocReal (UINT4)
 
COMPLEX8XLALCudaMallocComplex (UINT4)
 
void XLALCudaFree (void *)
 
void XLALCudaError (cudaError_t error, const char *file, int line)
 
int cudafft_execute_r2c (cufftHandle plan, cufftComplex *output, const cufftReal *input, cufftComplex *d_output, cufftReal *d_input, UINT4 size)
 
int cudafft_execute_c2r (cufftHandle plan, cufftReal *output, const cufftComplex *input, cufftReal *d_output, cufftComplex *d_input, UINT4 size)
 
int cudafft_execute_c2c (cufftHandle plan, cufftComplex *output, const cufftComplex *input, cufftComplex *d_output, cufftComplex *d_input, INT4 direction, UINT4 size)
 

Go to the source code of this file.

Macros

#define XLALCUDACHECK(e)   (XLALCudaError(e, __FILE__, __LINE__))
 
#define XLALCUDAFFTCHECK(e)   (XLALCudaFFTError(e, __FILE__, __LINE__))
 

Macro Definition Documentation

◆ XLALCUDACHECK

#define XLALCUDACHECK (   e)    (XLALCudaError(e, __FILE__, __LINE__))

Definition at line 15 of file CudaFunctions.h.

◆ XLALCUDAFFTCHECK

#define XLALCUDAFFTCHECK (   e)    (XLALCudaFFTError(e, __FILE__, __LINE__))

Definition at line 16 of file CudaFunctions.h.

Function Documentation

◆ XLALCudaMallocReal()

REAL4* XLALCudaMallocReal ( UINT4  size)

Definition at line 7 of file CudaFunctions.c.

◆ XLALCudaMallocComplex()

COMPLEX8* XLALCudaMallocComplex ( UINT4  size)

Definition at line 18 of file CudaFunctions.c.

◆ XLALCudaFree()

void XLALCudaFree ( void *  d_data)

Definition at line 29 of file CudaFunctions.c.

◆ XLALCudaError()

void XLALCudaError ( cudaError_t  error,
const char *  file,
int  line 
)

Definition at line 4 of file CudaFFT.cu.

◆ cudafft_execute_r2c()

int cudafft_execute_r2c ( cufftHandle  plan,
cufftComplex *  output,
const cufftReal *  input,
cufftComplex *  d_output,
cufftReal *  d_input,
UINT4  size 
)

Definition at line 50 of file CudaFFT.cu.

◆ cudafft_execute_c2r()

int cudafft_execute_c2r ( cufftHandle  plan,
cufftReal *  output,
const cufftComplex *  input,
cufftReal *  d_output,
cufftComplex *  d_input,
UINT4  size 
)

Definition at line 66 of file CudaFFT.cu.

◆ cudafft_execute_c2c()

int cudafft_execute_c2c ( cufftHandle  plan,
cufftComplex *  output,
const cufftComplex *  input,
cufftComplex *  d_output,
cufftComplex *  d_input,
INT4  direction,
UINT4  size 
)

Definition at line 82 of file CudaFFT.cu.