Initial support for hipChooseDevice function

Change-Id: Iedbf5f98c96673ab701dd7539d80a77b994d296f
Tá an tiomantas seo le fáil i:
Rahul Garg tiomanta 2016-09-08 22:37:24 +05:30
1 tuismitheoir 6db6dbaaaf
tiomantas 9e05375acf
3 comhad athraithe
+62

Níor tháinig aon chomhaid le do chuardach

+8
Féach ar an gComhad
@@ -345,6 +345,14 @@ hipError_t hipSetDeviceFlags ( unsigned flags);
* @}
*/
/**
* @brief Select compute-device which best matches criteria.
*
* @param [out] device ID
* @param [in] device properties pointer
*
*/
hipError_t hipChooseDevice(int *device,hipDeviceProp_t* prop);
/**
*-------------------------------------------------------------------------------------------------