[HIP] Add tccDriver info in hipDeviceProp

Fixes #1433.
이 커밋은 다음에 포함됨:
Sarbojit2019 작성하고 Maneesh Gupta가 2019-09-26 13:53:33 +05:30를 커밋함
1 부모 964b7e81dc
커밋 0fa42af08c
3 파일이 변경됨
+4

검색과 일치하는 파일 없음

+2
파일 보기
@@ -126,6 +126,8 @@ typedef struct hipDeviceProp_t {
size_t textureAlignment; ///<Alignment requirement for textures
int kernelExecTimeoutEnabled; ///<Run time limit for kernels executed on the device
int ECCEnabled; ///<Device has ECC support enabled
int tccDriver; ///< 1:If device is Tesla device using TCC driver, else 0
} hipDeviceProp_t;
+1
파일 보기
@@ -846,6 +846,7 @@ inline static hipError_t hipGetDeviceProperties(hipDeviceProp_t* p_prop, int dev
p_prop->textureAlignment = cdprop.textureAlignment;
p_prop->kernelExecTimeoutEnabled = cdprop.kernelExecTimeoutEnabled;
p_prop->ECCEnabled = cdprop.ECCEnabled;
p_prop->tccDriver = cdprop.tccDriver;
return hipCUDAErrorTohipError(cerror);
}