Initial support for hipChooseDevice function

Change-Id: Iedbf5f98c96673ab701dd7539d80a77b994d296f
This commit is contained in:
Rahul Garg
2016-09-08 22:37:24 +05:30
parent f9c3e759e9
commit 817bd7270f
3 changed files with 62 additions and 0 deletions
@@ -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);
/**
*-------------------------------------------------------------------------------------------------