summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Unknown <afd@afd-THINK.doc.ic.ac.uk>2011-12-15 11:59:57 +0000
committerGravatar Unknown <afd@afd-THINK.doc.ic.ac.uk>2011-12-15 11:59:57 +0000
commitb38920d9f028f62d5d0be3c7038e2c6e0f4bf293 (patch)
tree804c5e6bb6d8c21a66ac120690cf4f2e5c8ed75a
parentc45a4b8d7d9966a610f66fe745b1d94a30e36679 (diff)
A few fixes to get GPUVerify working with OpenCL front-end.
-rw-r--r--Source/GPUVerify/GPUVerifier.cs4
1 files changed, 2 insertions, 2 deletions
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);