From 9f2ce69dc74431297f1bf925f6ecedcf2fcb75d7 Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 20 Aug 2014 11:00:32 -0400 Subject: [PATCH] P4 to Git Change 1068415 by gandryey@gera-dev-w7 on 2014/08/20 10:41:55 ECR #304775 - Device enqueue - Fix a copy/paste typo with the "failure" argument Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuschedcl.cpp#25 edit [ROCm/clr commit: a27a480c5fdf91ebc358eda892d7befbe77e051b] --- projects/clr/rocclr/runtime/device/gpu/gpuschedcl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/rocclr/runtime/device/gpu/gpuschedcl.cpp b/projects/clr/rocclr/runtime/device/gpu/gpuschedcl.cpp index c08a88e02c..85ba4fb9a7 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gpuschedcl.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gpuschedcl.cpp @@ -417,7 +417,7 @@ scheduler( uint tmp = 0; if (atomic_compare_exchange_strong_explicit( (__global atomic_uint*)¶m->launch, &tmp, launch, - memory_order_acq_rel, memory_order_acq_rel, memory_scope_device)) { + memory_order_acq_rel, memory_order_acquire, memory_scope_device)) { if (event != 0) { event->timer[PROFILING_COMMAND_START] = (__hsail_get_clock() * (ulong)param->eng_clk) >> 10;