mirror of https://github.com/BOINC/boinc.git
client: add missing dlsym of cuMemGetInfo() on non_Windows platforms
svn path=/trunk/boinc/; revision=19953
This commit is contained in:
parent
98a192e5ac
commit
033804ccda
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue