AmpTools
GPUManager.h File Reference
#include <vector>
#include <complex>
#include <map>
#include <cassert>
#include <stdlib.h>
#include <stdio.h>
#include "GPUManager/GPUCustomTypes.h"
#include "cuda_runtime.h"
Include dependency graph for GPUManager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GPUManager
 

Macros

#define gpuErrChk(ans)   { gpuAssert((ans), __FILE__, __LINE__); }
 

Functions

void gpuAssert (cudaError_t code, const char *file, int line, bool abort=true)
 

Macro Definition Documentation

◆ gpuErrChk

#define gpuErrChk (   ans)    { gpuAssert((ans), __FILE__, __LINE__); }

Definition at line 52 of file GPUManager.h.

Function Documentation

◆ gpuAssert()

void gpuAssert ( cudaError_t  code,
const char *  file,
int  line,
bool  abort = true 
)
inline

Definition at line 54 of file GPUManager.h.