summaryrefslogtreecommitdiff
path: root/Source/GPUVerify/CommandLineOptions.cs
diff options
context:
space:
mode:
authorGravatar Unknown <afd@afd-THINK>2012-06-27 17:00:45 +0100
committerGravatar Unknown <afd@afd-THINK>2012-06-27 17:00:45 +0100
commite34e53cb90a093168644c46b99f5c140655d1993 (patch)
tree12f9ae9feba713e2a25e59b637b077935748e5e9 /Source/GPUVerify/CommandLineOptions.cs
parentc560dcbd38109b10ca93483379484ede395837e8 (diff)
Reinstated support for barrier flags.
Diffstat (limited to 'Source/GPUVerify/CommandLineOptions.cs')
-rw-r--r--Source/GPUVerify/CommandLineOptions.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/GPUVerify/CommandLineOptions.cs b/Source/GPUVerify/CommandLineOptions.cs
index 966f98eb..018917d5 100644
--- a/Source/GPUVerify/CommandLineOptions.cs
+++ b/Source/GPUVerify/CommandLineOptions.cs
@@ -44,6 +44,8 @@ namespace GPUVerify
public static bool InterGroupRaceChecking = false;
+ public static bool BarrierParameters = false;
+
public static int Parse(string[] args)
{
for (int i = 0; i < args.Length; i++)
@@ -191,6 +193,11 @@ namespace GPUVerify
InterGroupRaceChecking = true;
break;
+ case "-barrierParameters":
+ case "/barrierParameters":
+ BarrierParameters = true;
+ break;
+
default:
inputFiles.Add(args[i]);
break;