Attribute hipDevAttrConcurrentKernels for obtaining Device property concurrentKernels is added.

이 커밋은 다음에 포함됨:
Evgeny Mankov
2016-02-18 14:34:18 +03:00
부모 763aa5ea5a
커밋 d4bd94e9a0
4개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
+2
파일 보기
@@ -852,6 +852,8 @@ hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device)
*pi = prop->minor; break;
case hipDeviceAttributePciBusId:
*pi = prop->pciBusID; break;
case hipDevAttrConcurrentKernels:
*pi = prop->concurrentKernels; break;
case hipDeviceAttributePciDeviceId:
*pi = prop->pciDeviceID; break;
case hipDeviceAttributeMaxSharedMemoryPerMultiprocessor: