Skip to content
Snippets Groups Projects
Commit 474d6f21 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Mark out-comment used args in gpuAssert

parent 66036297
Branches
Tags
No related merge requests found
...@@ -255,7 +255,7 @@ inline static void gpuAssert(cudaError_t code, const char* function, const char ...@@ -255,7 +255,7 @@ inline static void gpuAssert(cudaError_t code, const char* function, const char
} }
# else # else
# define gpuErrchk(ans) { gpuAssert((ans), __FILE__, __LINE__); } # define gpuErrchk(ans) { gpuAssert((ans), __FILE__, __LINE__); }
inline static void gpuAssert(cudaError_t code, const char* function, const char *file, int line, bool abort=true) inline static void gpuAssert(cudaError_t code, const char* /*function*/, const char *file, int line, bool abort=true)
{ {
if (code != cudaSuccess) if (code != cudaSuccess)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment