From b38920d9f028f62d5d0be3c7038e2c6e0f4bf293 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 15 Dec 2011 11:59:57 +0000 Subject: A few fixes to get GPUVerify working with OpenCL front-end. --- Source/GPUVerify/GPUVerifier.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source') diff --git a/Source/GPUVerify/GPUVerifier.cs b/Source/GPUVerify/GPUVerifier.cs index def58982..a0ea0543 100644 --- a/Source/GPUVerify/GPUVerifier.cs +++ b/Source/GPUVerify/GPUVerifier.cs @@ -985,8 +985,8 @@ namespace GPUVerify private void AddStartAndEndBarriers() { - CallCmd FirstBarrier = new CallCmd(KernelImplementation.tok, "BARRIER", new ExprSeq(), new IdentifierExprSeq()); - CallCmd LastBarrier = new CallCmd(KernelImplementation.tok, "BARRIER", new ExprSeq(), new IdentifierExprSeq()); + CallCmd FirstBarrier = new CallCmd(KernelImplementation.tok, BarrierProcedure.Name, new ExprSeq(), new IdentifierExprSeq()); + CallCmd LastBarrier = new CallCmd(KernelImplementation.tok, BarrierProcedure.Name, new ExprSeq(), new IdentifierExprSeq()); CmdSeq newCommands = new CmdSeq(); newCommands.Add(FirstBarrier); -- cgit v1.2.3