Hide file format especific savers. Add generic image saver.

Misc fixes under OSX.
This commit is contained in:
castano
2009-03-15 10:18:54 +00:00
parent 36850f6241
commit 50b8b67185
10 changed files with 418 additions and 388 deletions

View File

@ -72,8 +72,10 @@ static bool isWow32()
#endif
*/
static bool isCudaDriverAvailable(int version)
{
#if defined HAVE_CUDA
#if NV_OS_WIN32
Library nvcuda("nvcuda.dll");
#else
@ -109,11 +111,13 @@ static bool isCudaDriverAvailable(int version)
return driverVersion >= version;
}
#endif // HAVE_CUDA
return false;
}
/// Determine if CUDA is available.
bool nv::cuda::isHardwarePresent()
{