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

Fix gpuAssert for Microsoft

parent 3914993a
No related branches found
No related tags found
No related merge requests found
......@@ -264,7 +264,7 @@ inline static void gpuAssert(cudaError_t code, const char* function, const char
}
# else
# 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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment