1 #include <lal/LALDatatypes.h>
2 #include <lal/XLALError.h>
3 #include <cuda_runtime.h>
COMPLEX8 * XLALCudaMallocComplex(UINT4 size)
void XLALCudaFree(void *d_data)
REAL4 * XLALCudaMallocReal(UINT4 size)
uint32_t UINT4
Four-byte unsigned integer.
float complex COMPLEX8
Single-precision floating-point complex number (8 bytes total)
float REAL4
Single precision real floating-point number (4 bytes).
#define XLAL_ERROR_VOID(...)
Macro to invoke a failure from a XLAL routine returning void.
#define XLAL_ERROR_NULL(...)
Macro to invoke a failure from a XLAL routine returning a pointer.
@ XLAL_ENOMEM
Memory allocation error.
@ XLAL_EFAULT
Invalid pointer.