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


[ROCm/clr commit: 88afeee3e3]
This commit is contained in:
foreman
2015-03-23 09:36:19 -04:00
rodzic 263b100272
commit 821f311dfd
2 zmienionych plików z 10 dodań i 4 usunięć
@@ -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:
@@ -61,6 +61,7 @@ public:
uint siPlus_: 1; //!< SI and post SI features
uint ciPlus_: 1; //!< CI and post CI features
uint viPlus_: 1; //!< VI and post VI features
uint aiPlus_: 1; //!< AI and post AI features
uint rectLinearDMA_: 1; //!< Rectangular linear DRMDMA support
uint threadTraceEnable_: 1; //!< Thread trace enable
uint linearPersistentImage_: 1; //!< Allocates linear images in persistent
@@ -74,7 +75,6 @@ public:
uint asyncMemCopy_: 1; //!< Use async memory transfers
uint hsailDirectSRD_: 1; //!< Controls direct SRD for HSAIL
uint useDeviceQueue_: 1; //!< Submit to separate device queue
uint reserved_: 1;
};
uint value_;
};