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]
This commit is contained in:
Evgeny Mankov
2016-02-09 17:10:35 +03:00
parent 4df8743f84
commit 9f596e0aab
3 changed files with 3 additions and 0 deletions
@@ -93,6 +93,7 @@ typedef struct hipDeviceProp_t {
int clockInstructionRate ; ///< Frequency in khz of the timer used by the device-side "clock*" instructions. New for HIP.
hipDeviceArch_t arch; ///< Architectural feature flags. New for HIP.
int concurrentKernels; ///< Device can possibly execute multiple kernels concurrently
} hipDeviceProp_t;