client: add missing dlsym of cuMemGetInfo() on non_Windows platforms

svn path=/trunk/boinc/; revision=19953
This commit is contained in:
Charlie Fenton 2009-12-17 09:58:56 +00:00
parent 98a192e5ac
commit 033804ccda
2 changed files with 7 additions and 0 deletions

View File

@ -10203,3 +10203,9 @@ David 16 Dec 2009
user/
forum_forum.php
forum_post.php
Charlie 17 Dec 2009
- client: add missing dlsym of cuMemGetInfo() on non_Windows platforms.
client/
coproc_detect.cpp

View File

@ -221,6 +221,7 @@ void COPROC_CUDA::get(
__cuCtxDestroy = (int(*)(unsigned int)) dlsym( cudalib, "cuCtxDestroy" );
__cuMemAlloc = (int(*)(unsigned int*, unsigned int)) dlsym( cudalib, "cuMemAlloc" );
__cuMemFree = (int(*)(unsigned int)) dlsym( cudalib, "cuMemFree" );
__cuMemGetInfo = (int(*)(unsigned int*, unsigned int*)) dlsym( cudalib, "cuMemGetInfo" );
#endif
if (!__cuDriverGetVersion) {