From c86ff07345200dc08fca3add1f22c4d4fac2c0b6 Mon Sep 17 00:00:00 2001
From: foreman
Date: Wed, 4 Feb 2015 12:30:43 -0500
Subject: [PATCH] P4 to Git Change 1118596 by bwicakso@opencl-hsa-stg-bwicakso
on 2015/02/04 12:12:37
ECR #333755 - Part 2 - Update to spec 20150116
Review: skeely
Test: teamcity http://ocltc.amd.com:8111/viewLog.html?buildId=11816772&tab=buildResultsDiv&buildTypeId=PrecheckinTestsOpenCLSanity_PrecheckinSanityKaveriLinux64bitDebugHsaFoundation
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#277 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.cpp#33 edit
[ROCm/clr commit: 24ea9f987880897d6419a82c71f8e28ed3dca47d]
---
projects/clr/rocclr/runtime/device/gpu/gpukernel.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/projects/clr/rocclr/runtime/device/gpu/gpukernel.cpp b/projects/clr/rocclr/runtime/device/gpu/gpukernel.cpp
index 834587c655..edab454abd 100644
--- a/projects/clr/rocclr/runtime/device/gpu/gpukernel.cpp
+++ b/projects/clr/rocclr/runtime/device/gpu/gpukernel.cpp
@@ -3817,7 +3817,7 @@ const uint16_t kDispatchPacketHeader =
(HSA_PACKET_TYPE_KERNEL_DISPATCH << HSA_PACKET_HEADER_TYPE) |
(1 << HSA_PACKET_HEADER_BARRIER) |
(HSA_FENCE_SCOPE_SYSTEM << HSA_PACKET_HEADER_ACQUIRE_FENCE_SCOPE) |
- (HSA_FENCE_SCOPE_COMPONENT << HSA_PACKET_HEADER_RELEASE_FENCE_SCOPE);
+ (HSA_FENCE_SCOPE_AGENT << HSA_PACKET_HEADER_RELEASE_FENCE_SCOPE);
hsa_kernel_dispatch_packet_t*
HSAILKernel::loadArguments(