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.
Этот коммит содержится в:
Evgeny Mankov committed 2016-02-09 17:10:35 +03:00
1 родитель f8bfc7f54c
Коммит 4d4ca3ef3f
3 files changed
+3

No files matched your search

+1
Просмотреть файл
@@ -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;