Hi I was wondering by looking over simpleGL and postProcessGL SDKs. There are several check lines like
if (argc > 1) {
if (cutCheckCmdLineFlag(argc, (const char **)argv, “qatest”) ||
cutCheckCmdLineFlag(argc, (const char **)argv, “noprompt”))
{
printf(“- (automated test no-OpenGL)\n”);
g_bQAReadback = true;
// g_bGLVerify = true;
fpsLimit = frameCheckNumber;
} else if (cutCheckCmdLineFlag(argc, (const char **)argv, “glverify”)) {
printf(“- (automated test OpenGL rendering)\n”);
g_bGLVerify = true;
fpsLimit = frameCheckNumber;
}
}
or if (g_bQAReadback) {
// use command-line specified CUDA device, otherwise use device with highest Gflops/s
if( cutCheckCmdLineFlag(argc, (const char**)argv, “device”) ) {
cutilDeviceInit(argc, argv);
} else {
cudaSetDevice( cutGetMaxGflopsDeviceId() );
}
// create VBO
createVBO(NULL, NULL, 0);
}
Does anyone knows what these are for? Thanks