Device property concurrentKernels is added to hipDeviceProp_t struct.

For HCC path concurrentKernels is set to true since all ROCR hardware supports this feature.
For NVCC path concurrentKernels is obtained from CUDA's device property cudaDeviceProp::concurrentKernels.


[ROCm/clr commit: 4d4ca3ef3f]
Tento commit je obsažen v:
Evgeny Mankov
2016-02-09 17:10:35 +03:00
rodič 4df8743f84
revize 9f596e0aab
3 změnil soubory, kde provedl 3 přidání a 0 odebrání
+1
Zobrazit soubor
@@ -383,6 +383,7 @@ hipError_t ihipDevice_t::getProperties(hipDeviceProp_t* prop)
prop->arch.has3dGrid = 1;
prop->arch.hasDynamicParallelism = 0;
prop->concurrentKernels = 1; // All ROCR hardware supports executing multiple kernels concurrently
return e;
}