From 1ff4bbda6a8d2b2a3a48b810fbf1f13c61c50541 Mon Sep 17 00:00:00 2001
From: foreman
Date: Thu, 24 Jul 2014 12:45:47 -0400
Subject: [PATCH] P4 to Git Change 1058915 by rili@rili_opencl_stg on
2014/07/24 12:24:49
EPR #399808 - Fix the value of HSA image channel order for CL_RGB
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#188 edit
[ROCm/clr commit: 5f93384dbc8fc78c85cfbae9e1d328e47d22fbfa]
---
projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp b/projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp
index c6429f660d..6de10e50d1 100644
--- a/projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp
+++ b/projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp
@@ -289,7 +289,7 @@ static uint32_t GetHSAILImageOrderType(gslChannelOrder chOrder)
orderType = 6;
break;*/
case GSL_CHANNEL_ORDER_RGB:
- orderType = 7;
+ orderType = 6;
break;
case GSL_CHANNEL_ORDER_RGBA:
orderType = 8;