summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDILNIDevice.cpp
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-07-30 15:57:50 +0000
committerTom Stellard <[email protected]>2012-07-30 21:10:14 +0000
commit2f921101c0826dc52a2c69f85c3da0f7f6e8212a (patch)
treeb0e58be6d20eee06df83a94571e149d73a401c15 /src/gallium/drivers/radeon/AMDILNIDevice.cpp
parentb72ab79d73b29ec087d90cf2c698adbab4db5def (diff)
radeon/llvm: Rename all AMDIL* classes to AMDGPU*
Diffstat (limited to 'src/gallium/drivers/radeon/AMDILNIDevice.cpp')
-rw-r--r--src/gallium/drivers/radeon/AMDILNIDevice.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/gallium/drivers/radeon/AMDILNIDevice.cpp b/src/gallium/drivers/radeon/AMDILNIDevice.cpp
index ad407fbe595..0ebbc9d1e06 100644
--- a/src/gallium/drivers/radeon/AMDILNIDevice.cpp
+++ b/src/gallium/drivers/radeon/AMDILNIDevice.cpp
@@ -12,8 +12,8 @@
using namespace llvm;
-AMDILNIDevice::AMDILNIDevice(AMDGPUSubtarget *ST)
- : AMDILEvergreenDevice(ST)
+AMDGPUNIDevice::AMDGPUNIDevice(AMDGPUSubtarget *ST)
+ : AMDGPUEvergreenDevice(ST)
{
std::string name = ST->getDeviceName();
if (name == "caicos") {
@@ -26,14 +26,14 @@ AMDILNIDevice::AMDILNIDevice(AMDGPUSubtarget *ST)
mDeviceFlag = OCL_DEVICE_BARTS;
}
}
-AMDILNIDevice::~AMDILNIDevice()
+AMDGPUNIDevice::~AMDGPUNIDevice()
{
}
size_t
-AMDILNIDevice::getMaxLDSSize() const
+AMDGPUNIDevice::getMaxLDSSize() const
{
- if (usesHardware(AMDILDeviceInfo::LocalMem)) {
+ if (usesHardware(AMDGPUDeviceInfo::LocalMem)) {
return MAX_LDS_SIZE_900;
} else {
return 0;
@@ -41,31 +41,31 @@ AMDILNIDevice::getMaxLDSSize() const
}
uint32_t
-AMDILNIDevice::getGeneration() const
+AMDGPUNIDevice::getGeneration() const
{
- return AMDILDeviceInfo::HD6XXX;
+ return AMDGPUDeviceInfo::HD6XXX;
}
-AMDILCaymanDevice::AMDILCaymanDevice(AMDGPUSubtarget *ST)
- : AMDILNIDevice(ST)
+AMDGPUCaymanDevice::AMDGPUCaymanDevice(AMDGPUSubtarget *ST)
+ : AMDGPUNIDevice(ST)
{
setCaps();
}
-AMDILCaymanDevice::~AMDILCaymanDevice()
+AMDGPUCaymanDevice::~AMDGPUCaymanDevice()
{
}
void
-AMDILCaymanDevice::setCaps()
+AMDGPUCaymanDevice::setCaps()
{
- if (mSTM->isOverride(AMDILDeviceInfo::DoubleOps)) {
- mHWBits.set(AMDILDeviceInfo::DoubleOps);
- mHWBits.set(AMDILDeviceInfo::FMA);
+ if (mSTM->isOverride(AMDGPUDeviceInfo::DoubleOps)) {
+ mHWBits.set(AMDGPUDeviceInfo::DoubleOps);
+ mHWBits.set(AMDGPUDeviceInfo::FMA);
}
- mHWBits.set(AMDILDeviceInfo::Signed24BitOps);
- mSWBits.reset(AMDILDeviceInfo::Signed24BitOps);
- mSWBits.set(AMDILDeviceInfo::ArenaSegment);
+ mHWBits.set(AMDGPUDeviceInfo::Signed24BitOps);
+ mSWBits.reset(AMDGPUDeviceInfo::Signed24BitOps);
+ mSWBits.set(AMDGPUDeviceInfo::ArenaSegment);
}