Added hipDeviceGet function
Change-Id: I7c25bc24680589682af1b199072807523fc37f50
[ROCm/clr commit: 2b2ffaf599]
Ta zmiana jest zawarta w:
%! (template.HTML=
Rahul Garg)złożyło 2016-09-02 12:25:50 +05:30
1 rodzic
db79cd18c2
złożenie
86cef27391
Plik 1 zmieniony
+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.
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika