Fixed build error in hipDeviceGetByPCIBusId
Change-Id: I33be362910c4c5dca7435fb9c41f427b54f0e9a7
[ROCm/hip commit: 34fcaa23bb]
Ta zmiana jest zawarta w:
%! (template.HTML=
Rahul Garg)złożyło 2017-07-01 07:56:30 +05:30
1 rodzic
ba0215ad9f
złożenie
9498754cf6
2 plików zmienionych
+2
-2
Żadne pliki nie pasują do Twojego wyszukiwania
@@ -1867,7 +1867,7 @@ hipError_t hipDeviceGetPCIBusId (char *pciBusId,int len,int device);
|
||||
*
|
||||
* @returns #hipSuccess, #hipErrorInavlidDevice, #hipErrorInvalidValue
|
||||
*/
|
||||
hipError_t hipDeviceGetByPCIBusId ( int* device,const int* pciBusId );
|
||||
hipError_t hipDeviceGetByPCIBusId ( int* device,const char* pciBusId );
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -395,7 +395,7 @@ hipError_t hipDeviceTotalMem (size_t *bytes,hipDevice_t device)
|
||||
return ihipLogStatus(e);
|
||||
}
|
||||
|
||||
hipError_t hipDeviceGetByPCIBusId (int* device, const int* pciBusId )
|
||||
hipError_t hipDeviceGetByPCIBusId (int* device, const char* pciBusId )
|
||||
{
|
||||
HIP_INIT_API(device,pciBusId);
|
||||
hipDeviceProp_t tempProp;
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika