Skip to content
Snippets Groups Projects
Commit 22c16738 authored by Mark Winter's avatar Mark Winter
Browse files

Fix some warnings in gcc/clang

parent 39b486bf
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ int getKernelMaxThreads(T func, int threadLimit=0) ...@@ -32,7 +32,7 @@ int getKernelMaxThreads(T func, int threadLimit=0)
return blockSizeMax; return blockSizeMax;
} }
static void HandleError( cudaError_t err, const char *file, int line ) static inline void HandleError( cudaError_t err, const char *file, int line )
{ {
if (err != cudaSuccess) if (err != cudaSuccess)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment