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
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user