Class FancyJCLManager

java.lang.Object
es.ull.pcg.hpc.fancyjcl.FancyJCLManager

public class FancyJCLManager extends Object
Manages initialization and releasing of FancyJCL and controls the set of stages and its parameters.
  • Constructor Details

    • FancyJCLManager

      public FancyJCLManager()
  • Method Details

    • initialize

      public static void initialize(String basePath)
      Creates a context for FancyJCL. It must be called only once per execution of the application.
      Parameters:
      basePath - Cache path needed for storing temporal data. It can usually be obtained by calling getApplicationContext().getCacheDir().getAbsolutePath() from your MainActivity.
    • clear

      public static void clear()
      Clears all the stages and all its parameters. It is called with release() and it would be needed if you want to test different algorithms involving a set of stages each one.
    • release

      public static void release()
      Clears all the stages and all its parameters and then releases the FancyJCL context. It must be called only once per execution of the application, whenever FancyJCL is not needed anymore.