Click or drag to resize
Program Class
Untyped program runtime. A program is a runtime representation of PTXModule, it holds all runtime resources, and implements IDisposable interface.
Inheritance Hierarchy

Namespace:  Alea
Assembly:  Alea (in Alea.dll) Version: 3.0.4.5
Syntax
[SerializableAttribute]
public class Program : DisposableObject

The Program type exposes the following members.

Properties
  NameDescription
Public propertyContext
The context that created this stream.
Public propertyDevice
Public propertyGpu
Public propertyHandle
CUDA native handle of this program.
Public propertyModuleInfo
Top
Methods
  NameDescription
Public methodApplyUntyped(GlobalArraySymbol)
Public methodApplyUntyped(GlobalVariableSymbol)
Public methodApplyUntyped(KernelSymbol)
Public methodDispose
Releases the unmanaged resources used by the Program and optionally releases the managed resources
(Overrides DisposableObject.Dispose(Boolean).)
Public methodGetGlobal
Public methodGetKernel
Public methodGetTextureRef
Top
Remarks
An instance of a Program type:
  • represents a JIT compiled module
  • has a host entry point function
  • is loaded by a worker
  • has untyped and generic versions
After loading a program, the generated program will be cast to its untyped version and then fed to the template's entry point host function as the first argument.
See Also