Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
check.h
Go to the documentation of this file.
1#ifndef __CUDA_CHECK_H
2#define __CUDA_CHECK_H
3
4void cuda_check(const char *fname, const int line, const cudaError_t err);
5
6#define CUDA_CHECK(err) cuda_check(__FILE__, __LINE__, err)
7
8#endif
void cuda_check(const char *fname, const int line, const cudaError_t err)
Definition check.cu:7
__global__ void dirichlet_apply_scalar_kernel(const int *__restrict__ msk, T *__restrict__ x, const T g, const int m)