Fix hipGetDeviceAttribute dtest for HIP/NVCC

Cette révision appartient à :
Rahul Garg a révisé 2017-12-06 15:49:06 +05:30
1 Parent 163b0f7978
révision 0782c52271
2 fichiers modifiés
+7 -3

Aucun fichier ne correspond à votre recherche

+4
Voir le fichier
@@ -597,6 +597,10 @@ inline static hipError_t hipGetDeviceProperties(hipDeviceProp_t *p_prop, int dev
p_prop->arch.hasDynamicParallelism = (ccVers >= 350);
p_prop->concurrentKernels = cdprop.concurrentKernels;
p_prop->pciBusID = cdprop.pciBusID;
p_prop->pciDeviceID = cdprop.pciDeviceID;
p_prop->maxSharedMemoryPerMultiProcessor = cdprop.sharedMemPerMultiprocessor;
p_prop->isMultiGpuBoard = cdprop.isMultiGpuBoard;
return hipCUDAErrorTohipError(cerror);
}