From a5c154d1402bc988c24376160a758de3d16a5037 Mon Sep 17 00:00:00 2001
From: foreman
Date: Wed, 18 Feb 2015 21:06:16 -0500
Subject: [PATCH] P4 to Git Change 1123331 by bsumner@bsumner-lin-opencl on
2015/02/18 20:59:50
ECR #304775 - Carrizo has full rate 32-bit FMA
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#118 edit
---
rocclr/compiler/lib/backends/common/linker.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/rocclr/compiler/lib/backends/common/linker.cpp b/rocclr/compiler/lib/backends/common/linker.cpp
index 60be53aeba..98b154039b 100644
--- a/rocclr/compiler/lib/backends/common/linker.cpp
+++ b/rocclr/compiler/lib/backends/common/linker.cpp
@@ -582,7 +582,8 @@ void amdcl::OCLLinker::createASICIDFunctions(llvm::Module* module)
chip == "Cypress"
|| chip == "Cayman"
|| chip == "Tahiti"
- || chip == "Hawaii",
+ || chip == "Hawaii"
+ || chip == "Carrizo",
module);
createConstIntFunc("__amdil_have_bitalign", !!(features & F_EG_BASE), module);
createConstIntFunc("__amdil_is_cypress", chip == "Cypress", module);