[PATCH] R600: Add HD3XXX to hardware generation enum

Alex Deucher alexdeucher at gmail.com
Mon Jun 3 10:08:08 PDT 2013


On Mon, Jun 3, 2013 at 12:41 PM, Tom Stellard <tom at stellard.net> wrote:
> From: Tom Stellard <thomas.stellard at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher 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
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list