isce3 0.25.0
Loading...
Searching...
No Matches
cudaError.h File Reference

Define error checking in cuda calls. More...

#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <cufft.h>
#include "debug.h"
#include <cuda.h>

Go to the source code of this file.

Macros

#define DEVICE_RESET
 
#define checkCudaErrors(val)
 
#define cufft_Error(val)
 
#define getLastCudaError(var)
 

Functions

template<typename T>
void check (T result, char const *const func, const char *const file, int const line)
 
void __getLastCudaError (const char *errorMessage, const char *file, const int line)
 

Detailed Description

Define error checking in cuda calls.

Macro Definition Documentation

◆ checkCudaErrors

#define checkCudaErrors ( val)
Value:
check ( (val), #val, __FILE__, __LINE__ )

◆ cufft_Error

#define cufft_Error ( val)
Value:
check ( (val), #val, __FILE__, __LINE__ )

◆ getLastCudaError

#define getLastCudaError ( var)
Value:
__getLastCudaError (var, __FILE__, __LINE__)

Generated for ISCE3.0 by doxygen 1.13.2.