#include <cstdlib>
#include <cstdio>
#include <string.h>
#include <vector>
#include "cuda_common.h"
Go to the source code of this file.
Defines | |
#define | CUDA_CHECK_ERROR(errorMessage) |
#define | CUDA_CHECK_ERROR_BASE() CUDA_CHECK_ERROR("") |
#define | CUDA_SAFE_CALL(call) call |
#define | CUDA_SAFE_CALL_NO_SYNC(call) call |
Functions | |
void | cudaDeviceInit (int dev=0) |
#define CUDA_CHECK_ERROR | ( | errorMessage | ) |
Definition at line 88 of file cuda_utils.h.
#define CUDA_CHECK_ERROR_BASE | ( | ) | CUDA_CHECK_ERROR("") |
Definition at line 11 of file cuda_utils.h.
#define CUDA_SAFE_CALL | ( | call | ) | call |
Definition at line 90 of file cuda_utils.h.
#define CUDA_SAFE_CALL_NO_SYNC | ( | call | ) | call |
Definition at line 89 of file cuda_utils.h.
void cudaDeviceInit | ( | int | dev = 0 |
) | [inline] |
Definition at line 94 of file cuda_utils.h.