}
}
-bool areAllGpuDevicesFromAmd(const gmx_gpu_info_t &gpuInfo)
-{
- bool result = true;
- for (int i = 0; i < gpuInfo.n_dev; ++i)
- {
- if ((gpuInfo.gpu_dev[i].stat == egpuCompatible) &&
- (gpuInfo.gpu_dev[i].vendor_e != OCL_VENDOR_AMD))
- {
- result = false;
- break;
- }
- }
- return result;
-}
void init_gpu(const gmx_device_info_t *deviceInfo)
{