graal/com.oracle.graal.compiler.hsail/src/com/oracle/graal/compiler/hsail/HSAILCompilationResult.java
Print this page
*** 96,106 ****
return getHSAILCompilationResult(graph);
}
public static HSAILCompilationResult getHSAILCompilationResult(StructuredGraph graph) {
Debug.dump(graph, "Graph");
! TargetDescription target = new TargetDescription(new HSAIL(), true, 1, 0, true);
HSAILBackend hsailBackend = new HSAILBackend(Graal.getRequiredCapability(GraalCodeCacheProvider.class), target);
PhasePlan phasePlan = new PhasePlan();
GraphBuilderPhase graphBuilderPhase = new GraphBuilderPhase(runtime, GraphBuilderConfiguration.getDefault(), OptimisticOptimizations.NONE);
phasePlan.addPhase(PhasePosition.AFTER_PARSING, graphBuilderPhase);
phasePlan.addPhase(PhasePosition.AFTER_PARSING, new HSAILPhase());
--- 96,106 ----
return getHSAILCompilationResult(graph);
}
public static HSAILCompilationResult getHSAILCompilationResult(StructuredGraph graph) {
Debug.dump(graph, "Graph");
! TargetDescription target = new TargetDescription(new HSAIL(), true, 8, 0, true);
HSAILBackend hsailBackend = new HSAILBackend(Graal.getRequiredCapability(GraalCodeCacheProvider.class), target);
PhasePlan phasePlan = new PhasePlan();
GraphBuilderPhase graphBuilderPhase = new GraphBuilderPhase(runtime, GraphBuilderConfiguration.getDefault(), OptimisticOptimizations.NONE);
phasePlan.addPhase(PhasePosition.AFTER_PARSING, graphBuilderPhase);
phasePlan.addPhase(PhasePosition.AFTER_PARSING, new HSAILPhase());