[PATCH] R600: Add HD3XXX to hardware generation enum
Tom Stellard
tom at stellard.net
Mon Jun 3 09:41:17 PDT 2013
From: Tom Stellard <thomas.stellard at amd.com>
---
This fixes the fetch limits for R6XX GPUs.
Should help with https://bugs.freedesktop.org/show_bug.cgi?id=64257
lib/Target/R600/AMDILDeviceInfo.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/Target/R600/AMDILDeviceInfo.h b/lib/Target/R600/AMDILDeviceInfo.h
index 4b2c3a5..04530e6 100644
--- a/lib/Target/R600/AMDILDeviceInfo.h
+++ b/lib/Target/R600/AMDILDeviceInfo.h
@@ -71,7 +71,8 @@ namespace llvm {
/// These have to be in order with the older generations
/// having the lower number enumerations.
enum Generation {
- HD4XXX = 0, ///< 7XX based devices.
+ HD3XXX = 0, ///< 6XX based devices.
+ HD4XXX, ///< 7XX based devices.
HD5XXX, ///< Evergreen based devices.
HD6XXX, ///< NI/Evergreen+ based devices.
HD7XXX, ///< Southern Islands based devices.
--
1.7.11.4
More information about the llvm-commits
mailing list