Mapped hipDevice_t to int
Change-Id: I6cfa56c42b7cd04aa0e0bce510c0d72d34ea211a
Tá an tiomantas seo le fáil i:
1 tuismitheoir
2665ad2762
tiomantas
263a9614ff
4 comhad athraithe
+20
-41
Níor tháinig aon chomhaid le do chuardach
@@ -27,7 +27,8 @@ int main(){
|
||||
hipInit(0);
|
||||
hipDevice_t device;
|
||||
hipDeviceGet(&device, 0);
|
||||
char pciBusId[100];
|
||||
char pciBusId[10];
|
||||
memset(pciBusId,0,10);
|
||||
hipDeviceGetPCIBusId(pciBusId,100,device);
|
||||
printf("PCI Bus ID= %s\n",pciBusId);
|
||||
return 0;
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir