Merge pull request #286 from gargrahul/fix_hipDeviceGetAttribute_nvcc

Fix hipGetDeviceAttribute dtest for HIP/NVCC

[ROCm/hip commit: 6cb5e92d75]
Cette révision appartient à :
Maneesh Gupta a créé et GitHub a révisé 2017-12-12 12:49:23 +05:30
révision 4b2066d4dc
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);
}