diff options
author | Tom Stellard <[email protected]> | 2012-05-09 11:06:48 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-10 15:41:31 -0400 |
commit | fa63f976522bd4faf19249e8c9ac4d3edda498d9 (patch) | |
tree | aa4faf0c0741d902fb7844fff879a9d5f37696b9 /src/gallium/drivers/radeon/AMDILDeviceInfo.cpp | |
parent | 92faa21d29b49689ccfff852cfff257fccec514e (diff) |
radeon/llvm: Add some comments
Diffstat (limited to 'src/gallium/drivers/radeon/AMDILDeviceInfo.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/AMDILDeviceInfo.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/AMDILDeviceInfo.cpp b/src/gallium/drivers/radeon/AMDILDeviceInfo.cpp index 89b8312c294..cbf5b512471 100644 --- a/src/gallium/drivers/radeon/AMDILDeviceInfo.cpp +++ b/src/gallium/drivers/radeon/AMDILDeviceInfo.cpp @@ -1,4 +1,4 @@ -//===-- AMDILDeviceInfo.cpp - TODO: Add brief description -------===// +//===-- AMDILDeviceInfo.cpp - AMDILDeviceInfo class -----------------------===// // // The LLVM Compiler Infrastructure // @@ -6,11 +6,16 @@ // License. See LICENSE.TXT for details. // //==-----------------------------------------------------------------------===// +// +// Function that creates DeviceInfo from a device name and other information. +// +//==-----------------------------------------------------------------------===// #include "AMDILDevices.h" #include "AMDILSubtarget.h" using namespace llvm; namespace llvm { +namespace AMDILDeviceInfo { AMDILDevice* getDeviceFromName(const std::string &deviceName, AMDILSubtarget *ptr, bool is64bit, bool is64on32bit) { @@ -84,4 +89,5 @@ getDeviceFromName(const std::string &deviceName, AMDILSubtarget *ptr, bool is64b return new AMDIL7XXDevice(ptr); } } -} +} // End namespace AMDILDeviceInfo +} // End namespace llvm |