P4 to Git Change 1133387 by asalmanp@asalmanp-opencl-stg1 on 2015/03/23 09:27:41

EPR #394115 - [OpenCL][Arctic Islands] adding aiPlus_ variable for AI and post AI features
	ReviewBoardURL = http://ocltc.amd.com/reviews/r/7167/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#307 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#90 edit
Этот коммит содержится в:
foreman
2015-03-23 09:36:19 -04:00
родитель d8b3117f8d
Коммит 88afeee3e3
2 изменённых файлов: 10 добавлений и 4 удалений
+9 -3
Просмотреть файл
@@ -100,6 +100,7 @@ Settings::Settings()
siPlus_ = false;
ciPlus_ = false;
viPlus_ = false;
aiPlus_ = false;
// Number of compute rings.
numComputeRings_ = 0;
@@ -236,10 +237,15 @@ Settings::create(
}
enableExtension(ClAmdImage2dFromBufferReadOnly);
break;
case CAL_TARGET_CARRIZO:
apuSystem_ = true;
case CAL_TARGET_GREENLAND:
//TODO: specific code for AI
//TODO: specific codes for AI
aiPlus_ = true;
// Fall through to VI ...
case CAL_TARGET_CARRIZO:
if (!aiPlus_) {
// APU systems for VI
apuSystem_ = true;
}
case CAL_TARGET_ICELAND:
case CAL_TARGET_TONGA:
case CAL_TARGET_FIJI: