Class CPUContext

  • All Implemented Interfaces:
    Context, java.lang.AutoCloseable

    public class CPUContext
    extends java.lang.Object
    implements Context
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Logger logger  
    • Constructor Summary

      Constructors 
      Constructor Description
      CPUContext​(Logger logger)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void compute​(int aNumberOfStreams, Kernel aKernel)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        private final Logger logger
    • Constructor Detail

      • CPUContext

        public CPUContext​(Logger logger)
    • Method Detail

      • compute

        public void compute​(int aNumberOfStreams,
                            Kernel aKernel)
        Specified by:
        compute in interface Context
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable