corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs

[ROCm/hip commit: d3ba2b9782]
Cette révision appartient à :
Aditya Atluri a révisé 2016-03-06 08:31:04 -06:00
1 Parent 3c91a6d0a7
révision f1b8758919
24 fichiers modifiés
+27 -27

Aucun fichier ne correspond à votre recherche

+2 -2
Voir le fichier
@@ -252,9 +252,9 @@ hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device)
* @param [out] prop written with device properties
* @param [in] device which device to query for information
*
* Populates hipDeviceGetProperties with information for the specified device.
* Populates hipGetDeviceProperties with information for the specified device.
*/
hipError_t hipDeviceGetProperties(hipDeviceProp_t* prop, int device);
hipError_t hipGetDeviceProperties(hipDeviceProp_t* prop, int device);
+1 -1
Voir le fichier
@@ -167,7 +167,7 @@ inline static hipError_t hipMemset(void* devPtr,int value, size_t count) {
return hipCUDAErrorTohipError(cudaMemset(devPtr, value, count));
}
inline static hipError_t hipDeviceGetProperties(hipDeviceProp_t *p_prop, int device)
inline static hipError_t hipGetDeviceProperties(hipDeviceProp_t *p_prop, int device)
{
cudaDeviceProp cdprop;
cudaError_t cerror;