The CudafyHost type exposes the following members.

Constructors

  NameDescription
Public methodCudafyHost
Initializes a new instance of the CudafyHost class

Methods

  NameDescription
Public methodStatic memberClearAllDeviceMemories
Clears all created device memories.
Public methodStatic memberClearDevices
Clears all gpus from the cache.
Public methodStatic memberCreateDevice
Creates a new GPGPU and adds to cache. If GPGPU already exists then it is first destroyed and removed from cache.
Public methodStatic memberDeviceCreated
Checks if the specified device has already been created and added to the cache.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGetDevice
Gets device of type specified from the cache. Creates one if it does not already exist.
Public methodStatic memberGetDeviceCount
Gets the device count.
Public methodStatic memberGetDeviceProperties
Gets the device properties.
Public methodStatic memberGetGPGPU Obsolete.
Obsolete. Use GetDevice instead.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberRemoveDevice
Removes the specified GPGPU from the cache.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also