diff options
author | Unknown <afd@afd-THINK.doc.ic.ac.uk> | 2012-04-05 10:20:57 +0100 |
---|---|---|
committer | Unknown <afd@afd-THINK.doc.ic.ac.uk> | 2012-04-05 10:20:57 +0100 |
commit | 7860cf038c2a5d6d535f6be3ff461ae8e62db51c (patch) | |
tree | 6938d9a3f50bf1c39551f9d602e24a1080292b6a /Source/GPUVerify/GPUVerifier.cs | |
parent | 562ea75667e8eabf6703eb62b8716a920b2c02c6 (diff) |
Started generalising thread id inference
Diffstat (limited to 'Source/GPUVerify/GPUVerifier.cs')
-rw-r--r-- | Source/GPUVerify/GPUVerifier.cs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Source/GPUVerify/GPUVerifier.cs b/Source/GPUVerify/GPUVerifier.cs index 03a9f647..1120b086 100644 --- a/Source/GPUVerify/GPUVerifier.cs +++ b/Source/GPUVerify/GPUVerifier.cs @@ -29,9 +29,9 @@ namespace GPUVerify private int TempCounter = 0;
private int invariantGenerationCounter;
- private const string LOCAL_ID_X_STRING = "local_id_x";
- private const string LOCAL_ID_Y_STRING = "local_id_y";
- private const string LOCAL_ID_Z_STRING = "local_id_z";
+ internal const string LOCAL_ID_X_STRING = "local_id_x";
+ internal const string LOCAL_ID_Y_STRING = "local_id_y";
+ internal const string LOCAL_ID_Z_STRING = "local_id_z";
internal static Constant _X = null;
internal static Constant _Y = null;
@@ -41,30 +41,30 @@ namespace GPUVerify private Constant _GROUP_SIZE_Y = null;
private Constant _GROUP_SIZE_Z = null;
- private const string GROUP_SIZE_X_STRING = "group_size_x";
- private const string GROUP_SIZE_Y_STRING = "group_size_y";
- private const string GROUP_SIZE_Z_STRING = "group_size_z";
+ internal const string GROUP_SIZE_X_STRING = "group_size_x";
+ internal const string GROUP_SIZE_Y_STRING = "group_size_y";
+ internal const string GROUP_SIZE_Z_STRING = "group_size_z";
private Constant _GROUP_X = null;
private Constant _GROUP_Y = null;
private Constant _GROUP_Z = null;
- private const string GROUP_ID_X_STRING = "group_id_x";
- private const string GROUP_ID_Y_STRING = "group_id_y";
- private const string GROUP_ID_Z_STRING = "group_id_z";
+ internal const string GROUP_ID_X_STRING = "group_id_x";
+ internal const string GROUP_ID_Y_STRING = "group_id_y";
+ internal const string GROUP_ID_Z_STRING = "group_id_z";
private Constant _NUM_GROUPS_X = null;
private Constant _NUM_GROUPS_Y = null;
private Constant _NUM_GROUPS_Z = null;
- private const string NUM_GROUPS_X_STRING = "num_groups_x";
- private const string NUM_GROUPS_Y_STRING = "num_groups_y";
- private const string NUM_GROUPS_Z_STRING = "num_groups_z";
+ internal const string NUM_GROUPS_X_STRING = "num_groups_x";
+ internal const string NUM_GROUPS_Y_STRING = "num_groups_y";
+ internal const string NUM_GROUPS_Z_STRING = "num_groups_z";
public IRaceInstrumenter RaceInstrumenter;
public UniformityAnalyser uniformityAnalyser;
- public MayBeTidAnalyser mayBeTidAnalyser;
+ public MayBeThreadConfigurationVariableAnalyser mayBeTidAnalyser;
public MayBeTidPlusConstantAnalyser mayBeTidPlusConstantAnalyser;
public MayBePowerOfTwoAnalyser mayBePowerOfTwoAnalyser;
public LiveVariableAnalyser liveVariableAnalyser;
@@ -442,7 +442,7 @@ namespace GPUVerify private void DoMayBeTidAnalysis()
{
- mayBeTidAnalyser = new MayBeTidAnalyser(this);
+ mayBeTidAnalyser = new MayBeThreadConfigurationVariableAnalyser(this);
mayBeTidAnalyser.Analyse();
}
|