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:
public class Program : DisposableObject

The Program type exposes the following members.

Public propertyContext
The context that created this stream.
Public propertyDevice
Public propertyGpu
Public propertyHandle
CUDA native handle of this program.
Public propertyModuleInfo
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
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