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

Fix gpuAssert for Microsoft

parent 3914993a
Branches
Tags
No related merge requests found
...@@ -264,7 +264,7 @@ inline static void gpuAssert(cudaError_t code, const char* function, const char ...@@ -264,7 +264,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 *file, int line, bool abort=true)
{ {
if (code != cudaSuccess) if (code != cudaSuccess)
{ {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment