Merge pull request #286 from gargrahul/fix_hipDeviceGetAttribute_nvcc

Fix hipGetDeviceAttribute dtest for HIP/NVCC

[ROCm/hip commit: 6cb5e92d75]
Dieser Commit ist enthalten in:
Maneesh Gupta verfasst und GitHub committed 2017-12-12 12:49:23 +05:30
2 Ursprung 39f2afa9e3 89d9f8ae1c
Commit 4b2066d4dc
2 Dateien geändert
+7 -3

Keine Dateien entsprechen Ihrer Suche

@@ -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);
}