1 부모
964b7e81dc
커밋
0fa42af08c
3 파일이 변경됨
+4
검색과 일치하는 파일 없음
@@ -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;
|
||||
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
새 이슈에서 참조
사용자 차단