|
// utils.h
//
#include "cutil_inline.h"
#include <wtypes.h>
extern "C"
{
void DebugPrintf(char* pszFormatA, ...);
bool InitCUDA(bool& bMapHostMemory);
void ExitCUDA();
bool SaveTGA(unsigned nWidth, unsigned nHeight, unsigned long* lpBuffer, char* lpFilename);
unsigned char* LoadTGA(char* fname, unsigned *pw, unsigned* ph);
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I've been a coding guy for 15 years, using C/C++ and assembly. Also using database to do information presenation with graphics applications.