Fixed hipDeviceGetByPCIBusId
Change-Id: Ia36bb9425671ef7659541c9aeedae4098456a31b
Este cometimento está contido em:
1 ascendente
0fe0381608
cometimento
467a2ba014
2 ficheiros modificados
+20
-12
Não existem ficheiros que correspondam à sua pesquisa
@@ -876,9 +876,9 @@ inline static hipError_t hipDeviceGetPCIBusId(char* pciBusId,int len,hipDevice_t
|
||||
return hipCUDAErrorTohipError(cudaDeviceGetPCIBusId(pciBusId,len,device));
|
||||
}
|
||||
|
||||
inline static hipError_t hipDeviceGetByPCIBusId(int* device, const int *pciBusId)
|
||||
inline static hipError_t hipDeviceGetByPCIBusId(int* device, const char *pciBusId)
|
||||
{
|
||||
return hipCUDAErrorTohipError(cudaDeviceGetByPCIBusId(device,(char*)pciBusId));
|
||||
return hipCUDAErrorTohipError(cudaDeviceGetByPCIBusId(device, pciBusId));
|
||||
}
|
||||
|
||||
inline static hipError_t hipDeviceGetLimit(size_t *pValue, hipLimit_t limit)
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador