Fix hipGetDeviceAttribute dtest for HIP/NVCC

Dieser Commit ist enthalten in:
Rahul Garg committed 2017-12-06 15:49:06 +05:30
1 Ursprung 163b0f7978
Commit 0782c52271
2 Dateien geändert
+7 -3

Keine Dateien entsprechen Ihrer Suche

+4
Datei anzeigen
@@ -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);
}