Remove redundant API hipDeviceGetFromId from HCC path

Change-Id: Id6b4f1374b12cb3949d725f0859425cd8de6d868


[ROCm/hip commit: 51f25f9271]
This commit is contained in:
Maneesh Gupta
2016-09-09 12:06:19 +05:30
parent b7e53075ab
commit d50a280d72
2 changed files with 0 additions and 23 deletions
-16
View File
@@ -245,22 +245,6 @@ hipError_t hipSetDeviceFlags( unsigned int flags)
return ihipLogStatus(e);
};
hipError_t hipDeviceGetFromId(hipDevice_t *device, int deviceId)
{
HIP_INIT_API(device, deviceId);
hipError_t e = hipSuccess;
*device = ihipGetDevice(deviceId);
if (device == nullptr) {
e = hipErrorInvalidDevice;
}
return ihipLogStatus(e);
}
hipError_t hipDeviceComputeCapability(int *major, int *minor, hipDevice_t device)
{
HIP_INIT_API(major,minor, device);