Added hipDeviceTotalMem

Change-Id: I877fbc9e4767bbd70ecd0184f5123c9bc6cbd06f
Tá an tiomantas seo le fáil i:
Rahul Garg
2016-09-02 15:11:36 +05:30
tuismitheoir bc055d960a
tiomantas 2f8d9e20b2
D'athraigh 3 comhad le 21 breiseanna agus 0 scriosta
+5
Féach ar an gComhad
@@ -645,6 +645,11 @@ inline static hipError_t hipDeviceGetPCIBusId (int *pciBusId,int len,hipDevice_t
return hipCUResultTohipError(cuDeviceGetPCIBusId((char*)pciBusId,len,device));
}
inline static hipError_t hipDeviceTotalMem (size_t *bytes,hipDevice_t device)
{
return hipCUResultTohipError(cuDeviceTotalMem(bytes,device));
}
inline static hipError_t hipModuleLoad(hipModule_t *module, const char* fname)
{
return hipCUResultTohipError(cuModuleLoad(module, fname));