fix for checkCudaErrors

This commit is contained in:
jojo61
2019-01-04 09:21:47 +01:00
parent 24f679e1d3
commit 003d06b946
3 changed files with 7 additions and 6 deletions

View File

@@ -441,7 +441,7 @@ s_CudaErrorStr sCudaDrvErrorString[] =
// This is just a linear search through the array, since the error_id's are not
// always ocurring consecutively
inline const char *getCudaDrvErrorString(CUresult error_id)
static inline const char *getCudaDrvErrorString(CUresult error_id)
{
int index = 0;