Build fixes for case where HAVE_CUDA==OFF.

This commit is contained in:
Alexander Smorkalov
2013-12-20 09:46:03 +04:00
parent 069f3d8d9a
commit 529bd41751
3 changed files with 13 additions and 11 deletions

View File

@@ -229,7 +229,7 @@ static DeviceInfoFuncTable* deviceInfoFuncTable()
static CudaDeviceInfoFuncTable impl;
static DeviceInfoFuncTable* funcTable = &impl;
#else
static EmptyFuncTable stub;
static EmptyDeviceInfoFuncTable stub;
static DeviceInfoFuncTable* funcTable = &stub;
#endif
#endif