return OCL_VENDOR_UNKNOWN;
}
-
-//! This function is documented in the header file
-bool canDetectGpus(std::string *errorMessage)
+bool isGpuDetectionFunctional(std::string *errorMessage)
{
cl_uint numPlatforms;
cl_int status = clGetPlatformIDs(0, nullptr, &numPlatforms);
return foundPlatform;
}
-//! This function is documented in the header file
void findGpus(gmx_gpu_info_t *gpu_info)
{
cl_uint ocl_platform_count;
sfree(ocl_platform_ids);
}
-//! This function is documented in the header file
void get_gpu_device_info_string(char *s, const gmx_gpu_info_t &gpu_info, int index)
{
assert(s);
return result;
}
-//! This function is documented in the header file
void init_gpu(const gmx_device_info_t *deviceInfo)
{
assert(deviceInfo);
}
}
-//! This function is documented in the header file
gmx_device_info_t *getDeviceInfo(const gmx_gpu_info_t &gpu_info,
int deviceId)
{
return &gpu_info.gpu_dev[deviceId];
}
-//! This function is documented in the header file
size_t sizeof_gpu_dev_info()
{
return sizeof(gmx_device_info_t);