Added hipDeviceGet function

Change-Id: I7c25bc24680589682af1b199072807523fc37f50
このコミットが含まれているのは:
Rahul Garg
2016-09-02 12:25:50 +05:30
コミット 2b2ffaf599
+9
ファイルの表示
@@ -1235,6 +1235,15 @@ hipError_t hipCtxDisablePeerAccess (hipCtx_t peerCtx);
*/
hipError_t hipDeviceGetFromId(hipDevice_t *device, int deviceId);
/**
* @brief Returns a handle to a compute device
* @param [out] device
* @param [in] ordinal
*
* @returns #hipSuccess, #hipErrorInavlidDevice
*/
hipError_t hipDeviceGet(hipDevice_t *device, int ordinal);
/**
* @brief Returns the approximate HIP driver version.