Go to the documentation of this file.
19#ifndef OPM_CUDA_CHECK_LAST_ERROR_HPP
20#define OPM_CUDA_CHECK_LAST_ERROR_HPP
21#include <cuda_runtime.h>
41#define OPM_CUDA_CHECK_DEVICE_SYNCHRONIZE OPM_GPU_SAFE_CALL(cudaDeviceSynchronize())
44#define OPM_CUDA_CHECK_DEVICE_SYNCHRONIZE_IF_DEBUG
62#define OPM_CUDA_CHECK_DEVICE_SYNCHRONIZE_IF_DEBUG OPM_CUDA_CHECK_DEVICE_SYNCHRONIZE
81#define OPM_CUDA_CHECK_LAST_ERROR OPM_GPU_SAFE_CALL(cudaGetLastError())
84#define OPM_CUDA_CHECK_LAST_ERROR_IF_DEBUG
102#define OPM_CUDA_CHECK_LAST_ERROR_IF_DEBUG OPM_CUDA_CHECK_LAST_ERROR
|