SWDEV-221166 - Detect support for large bar access through HIP runtime API

Change-Id: Iaa9756c1b5e40c1ab5afb38e44a6699fa5f6c13f
이 커밋은 다음에 포함됨:
Alex Xie 작성하고 AlexBin Xie가 2020-05-01 20:39:52 -04:00를 커밋함
1 부모 b90bc5301c
커밋 d890d77da4
5 파일이 변경됨
+5 -6

검색과 일치하는 파일 없음

+1 -1
파일 보기
@@ -864,7 +864,7 @@ hipError_t ihipDevice_t::initProperties(hipDeviceProp_t* prop) {
/* Computemode for HSA Devices is always : cudaComputeModeDefault */
prop->computeMode = 0;
_isLargeBar = _acc.has_cpu_accessible_am();
prop->isLargeBar = _acc.has_cpu_accessible_am() ? 1 : 0;
// Get Max Threads Per Multiprocessor
uint32_t max_waves_per_cu;
-3
파일 보기
@@ -836,9 +836,6 @@ class ihipDevice_t {
unsigned _computeUnits;
hipDeviceProp_t _props; // saved device properties.
// TODO - report this through device properties, base on HCC API call.
int _isLargeBar;
// Node id reported by kfd for this device
uint32_t _driver_node_id;