Zitat des Tages
“Computers are the equivalent of a bicycle for our minds.”- Steve Jobs
Get boost source files from boost.org.
Boost libraries and header files will be installed to /usr/local/lib and /usr/local/include.
See Make my MacBook Pro Hibernate for details.
Use SmartSleep to configure your MB.
find . -iname “*.cpp” -print | xargs grep “main(” -s
-s = silent - no error messages
#include < windows.h>
#include <delayimp.h>
int cudaDetect()
{
// Try to load imports from NVIDIA runtime DLL
// If this is not possible then there’s no compatible driver installed
__try
{
if( FAILED( __HrLoadAllImportsForDll( “cudart.dll” ) ) )
return 0;
}
__except( EXCEPTION_EXECUTE_HANDLER )
{
return 0;
}
return 1;
}