Searched refs:devCount (Results 1 – 3 of 3) sorted by relevance
362 cl_uint devCount; in test_get_program_info() local363 … error = clGetProgramInfo( program, CL_PROGRAM_NUM_DEVICES, sizeof( devCount ), &devCount, NULL ); in test_get_program_info()366 if( devCount != 1 ) in test_get_program_info()368 …error( "ERROR: Invalid device count returned for program! (Expected 1, got %d)\n", (int)devCount ); in test_get_program_info()
655 int devCount;659 checkCudaErrors(cuDeviceGetCount(&devCount));
663 int devCount;667 checkCudaErrors(cuDeviceGetCount(&devCount));