Searched refs:devCount (Results 1 – 2 of 2) sorted by relevance
206 short devCount = 0; /* number of devices attached */ in GetSystemGammas() local215 devCount++; /* count devices */ in GetSystemGammas()219 …pSysGammaOut->devGamma = (precDeviceGamma *) NewPtr (sizeof (precDeviceGamma) * devCount); /* allo… in GetSystemGammas()222 pSysGammaOut->numDevices = devCount; /* stuff count */ in GetSystemGammas()224 devCount = 0; /* reset iteration */ in GetSystemGammas()228 …pSysGammaOut->devGamma [devCount] = (precDeviceGamma) NewPtr (sizeof (recDeviceGamma)); /* new d… in GetSystemGammas()229 if (pSysGammaOut->devGamma [devCount]) /* if we actually allocated memory */ in GetSystemGammas()231 pSysGammaOut->devGamma [devCount]->hGD = hGDevice; /* stuff handle */ in GetSystemGammas()232 …pSysGammaOut->devGamma [devCount]->pDeviceGamma = (GammaTblPtr)GetDeviceGamma (hGDevice); /* copy … in GetSystemGammas()236 devCount++; /* next device */ in GetSystemGammas()
663 int devCount;667 checkCudaErrors(cuDeviceGetCount(&devCount));