Searched refs:g_isOpenCLAvailable (Results 1 – 1 of 1) sorted by relevance
1459 static bool g_isOpenCLAvailable = false; in haveOpenCL() local1466 g_isOpenCLAvailable = ::clGetPlatformIDs(0, NULL, &n) == CL_SUCCESS; in haveOpenCL()1470 g_isOpenCLAvailable = false; in haveOpenCL()1474 return g_isOpenCLAvailable; in haveOpenCL()