Добавление нового прохода в тестирование
This commit is contained in:
2025-12-11 23:20:33 +03:00
parent 170431081f
commit 1319535788
4 changed files with 14 additions and 6 deletions

2
.idea/workspace.xml generated
View File

@@ -8,6 +8,8 @@
<component name="ChangeListManager">
<list default="true" id="e42177c3-2328-4b27-8a01-35779b2beb99" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/ComponentsServer/Component/Sapfor/Sapfor.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ComponentsServer/Component/Sapfor/Sapfor.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Constants.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Constants.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Passes/PassCode.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Passes/PassCode.java" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />

View File

@@ -150,6 +150,7 @@ public abstract class Sapfor extends OSDComponent {
res.add(PassCode.SPF_PrivateShrinking);//+
res.add(PassCode.SPF_PrivateExpansion);//+
res.add(PassCode.SPF_PrivateRemoving);//+
res.add(PassCode.SPF_InsertPrivateArrayDirectives);
//--
res.add(PassCode.SPF_RemoveUnusedFunctions);//+
res.add(PassCode.SPF_DuplicateFunctionChains);//+
@@ -586,15 +587,17 @@ public abstract class Sapfor extends OSDComponent {
String addOpts) throws Exception {
Command("transformation:" + pack(transformName, options, projName, folderName, addOpts) + winHandler);
}
public void RunModification(String modifyName, int winHandler, String options, String projName,
String folderName, String addOpt1, String addOpt2) throws Exception {
Command("modification:" + pack(modifyName, options, projName, folderName, addOpt1, addOpt2) + winHandler);
}
//--
/*
Модификации:
SPF_ModifyArrayDistribution (addOpt1_c -> regId, addOpt2_c-> int64_t arrArrs, '|' as delimiter)
SPF_InlineProcedure (addOpt1_c -> name | file, addOpt2_c-> line)
*/
public void RunModification(String modifyName, int winHandler, String options, String projName,
String folderName, String addOpt1, String addOpt2) throws Exception {
Command("modification:" + pack(modifyName, options, projName, folderName, addOpt1, addOpt2) + winHandler);
}
//--
public void GetIntrinsics() throws Exception {
Intrinsics.clear();
if (RunAnalysis("SPF_GetIntrinsics", -1, "", "") >= 0) {

View File

@@ -3,7 +3,7 @@ import Common.Utils.Vector_;
import java.util.Vector;
public class Constants {
public static final int version = 1260;
public static final int version = 1261;
public static final int planner_version = 24;
public static final int testingMaxKernels = 64;
//--

View File

@@ -902,6 +902,9 @@ public enum PassCode implements PassCode_ {
case SPF_PrivateRemoving://+
name = "PRIVATE_REMOVING";
break;
case SPF_InsertPrivateArrayDirectives:
name="FIND_PRIVATE_ARRAYS";
break;
//-
case SPF_ResolveParallelRegionConflicts://+
name = "RESOLVE_PAR_REGIONS";