Удаление спф директив
This commit is contained in:
2025-03-20 18:14:41 +03:00
parent 0b5f8c6ec7
commit 78ee5bc428
9 changed files with 20 additions and 26 deletions

View File

@@ -90,7 +90,8 @@ public abstract class Sapfor extends OSDComponent {
return new PassCode[]{
PassCode.SPF_RemoveDvmDirectivesToComments,
PassCode.SPF_RemoveDvmDirectives,
PassCode.SPF_RemoveOmpDirectives
PassCode.SPF_RemoveOmpDirectives,
PassCode.SPF_RemoveSpfDirectives
};
}
public static PassCode[] getIntervalsTransformationsCodes() {

View File

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

View File

@@ -37,7 +37,7 @@ public class SPF_GetGraphLoops extends SapforAnalysis {
}
@Override
protected void unpack(String packed) throws Exception {
System.out.println(Utils_.Brackets(packed));
//System.out.println(Utils_.Brackets(packed));
Vector<String> done_programs = new Vector<>();
String[] splitedPackedGraph = packed.split("\\|");
for (int i = 0; i < splitedPackedGraph.length; i += 2) {

View File

@@ -0,0 +1,4 @@
package _VisualDVM.Passes.All;
import _VisualDVM.Passes.Sapfor.SapforTransformation;
public class SPF_RemoveSpfDirectives extends SapforTransformation {
}

View File

@@ -302,6 +302,7 @@ public enum PassCode implements PassCode_ {
//->
TestPass,
SPF_InsertPrivateFromGUI,
SPF_RemoveSpfDirectives,
SPF_RemoveDeadCode,
ReplaceTestProject,
ReplaceTestsFromFiles,
@@ -363,6 +364,8 @@ public enum PassCode implements PassCode_ {
@Override
public String getDescription() {
switch (this) {
case SPF_RemoveSpfDirectives:
return "Удаление SPF директив";
case DeleteRemoteWorkspace:
return "Удалить рабочее пространство пользователя";
case CompareDVMRunTaskToEthalon:

View File

@@ -23,7 +23,6 @@ public class SapforPass extends SilentSapforPass {
}
@Override
public void Interrupt() throws Exception {
// target.CreateInterruptFile();
Global.mainModule.getSapfor().Interrupt();
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB