Object

cogx.parameters

Cog

Related Doc: package parameters

Permalink

object Cog

Controls compilation process, allowing various levels of verbosity for insight into the process. No module should print out information without consulting this. The user may modify the values of the fields here within their program. Alternatively, the user can set a JVM command line arg to modify the behavior of an already compiled program.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Cog
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. var backProjectFrameMerging: Boolean

    Permalink

    Enable merging of the two kernels involved in the sequence blockReduceSum(convolve(...BackProjectFrame...))

  6. val bufferSharing: Boolean

    Permalink

    Enable virtual field registers to share OpenCl buffers

  7. val checkLegacyBufferSharing: Boolean

    Permalink

    The InOrderSharedLatchAllocator before Cog 4.3.6 mishandled some models.

    The InOrderSharedLatchAllocator before Cog 4.3.6 mishandled some models. Alert the user if they were effected.

  8. val checkLegacyReshape: Boolean

    Permalink

    The Reshape operator before Cog 4.3 had a different behavior for some uses.

    The Reshape operator before Cog 4.3 had a different behavior for some uses. Alert the user if they were effected.

  9. val checkUserOperators: Boolean

    Permalink

    Enable warning about user CPU Operators having apply() invoked multiple times- bad if they have mutable state.

  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. var cpuKernelThreadSharing: Boolean

    Permalink

    Enables the cpu kernel Akka actors to share threads, rather than use a custom dispatcher that gives each actor its own thread.

    Enables the cpu kernel Akka actors to share threads, rather than use a custom dispatcher that gives each actor its own thread. The system has not been extensively tested with this set to "true" and so may deadlock.

  12. val defaultReleaseVersion: String

    Permalink

    Release version, is not automatically discernible from the release jar manifest

  13. var deleteProgramCache: Boolean

    Permalink

    Set this true for additional compiler information.

    Set this true for additional compiler information. This deletes any cached programs, forcing a recompilation that will provide the information. This should always be set false except when debugging.

  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. var fastProjectFrame: Boolean

    Permalink

    Enable multi-plane/workgroup kernel optimization for frame projection followed by block reduce

  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. var localMemoryMerging: Boolean

    Permalink

    Enable experimental merger optimizations (e.g.

    Enable experimental merger optimizations (e.g. forward-merging of kernels that use local memory)

  22. var maxLayoutProbedFields: Int

    Permalink

    Maximum number of probed fields that the graphical layout pane will attempt to display.

  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. var outOfOrderExecution: Boolean

    Permalink

    Allow the kernels to execute in a different order from which they were submitted to the GPU command queues.

    Allow the kernels to execute in a different order from which they were submitted to the GPU command queues. This will result in bigger model GPU memory usage with sadly no performance boost on current OpenCL platforms.

  27. val platformFilter: String

    Permalink

    Filter string for pruning down list of available OpenCL platforms.

  28. var printAssembly: Boolean

    Permalink

    Enable printing of OpenCL "binary" code.

    Enable printing of OpenCL "binary" code. For Nvidia, the ptx assembly.

  29. var printOptimized: Boolean

    Permalink

    Print out optimized circuit for ComputeGraph.

  30. var printSource: Boolean

    Permalink

    Enable printing of OpenCL source code during compilation

  31. var profile: Boolean

    Permalink

    Enable profiling.

  32. var profileSize: Int

    Permalink

    Number of steps between writing profile statistics to the console.

  33. var projectFrameMerging: Boolean

    Permalink

    Enable merging of the two kernels involved in the sequence blockReduceSum(convolve(...ProjectFrame...))

  34. def releaseVersion: String

    Permalink

    return the release version as a String.

    return the release version as a String. When this is invoked out of the libcog jar, the getImplementationVersion will return the value from the file ./META-INF/MANIFEST.MF as put there by sbt, for example. When invoked from the development environment, this approach returns null, so we supply a value whose major and minor release number are correct.

    returns

    The release version as a string

  35. def setBoolean(parameter: String, default: Boolean = false): Boolean

    Permalink

    Looks up and sets a boolean parameter based on a JVM arg, e.g.

    Looks up and sets a boolean parameter based on a JVM arg, e.g. -Dcog.verboseOptimizer

  36. def setInt(parameter: String, default: Int = 0): Int

    Permalink

    Looks up and sets an integer parameter based on a JVM arg, e.g.

    Looks up and sets an integer parameter based on a JVM arg, e.g. -Dcog.profileSize=100

  37. def setString(parameter: String, default: String = null.asInstanceOf[String]): String

    Permalink

    Looks up and sets a string parameter based on a JVM arg, e.g.

    Looks up and sets a string parameter based on a JVM arg, e.g. -Dcog.platform="amd"

  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. var threadSharing: Boolean

    Permalink

    Enables the core platform Akka actors to share threads, rather than use a custom dispatcher that gives each actor its own thread.

    Enables the core platform Akka actors to share threads, rather than use a custom dispatcher that gives each actor its own thread. The system has not been extensively tested with this set to "true" and so may deadlock.

  40. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  41. var verboseCodeGenerator: Boolean

    Permalink

    Make the code generator chatty.

  42. var verboseDebugger: Boolean

    Permalink

    Display debugger steps.

  43. var verboseKernelMerging: Boolean

    Permalink

    Print out details of merging GPU kernels.

  44. var verboseOpenCLDevices: Boolean

    Permalink

    Print out details of OpenCL device allocation.

  45. var verboseOpenCLPlatform: Boolean

    Permalink

    Print out details of OpenCL platform.

  46. var verboseOpenCLResources: Boolean

    Permalink

    Print OpenCL resources allocated (device kernels, CPU kernels, buffers).

  47. var verboseOptimizer: Boolean

    Permalink

    Display optimizer results.

  48. var verboseUserGPUExpressions: Boolean

    Permalink

    Chatty version of User GPU Expressions to ease debugging.

  49. var verboseUserGPUOperators: Boolean

    Permalink

    Chatty version of User GPU Operators to ease debugging.

  50. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped