The CudaGPU type exposes the following members.

Constructors

  NameDescription
Public methodCudaGPU
Initializes a new instance of the CudaGPU class.

Methods

  NameDescription
Public methodAllocate<(Of <<'(T>)>>)()()()()
Allocates on device.
(Overrides GPGPU..::..Allocate<(Of <<'(T>)>>)()()()().)
Public methodAllocate<(Of <<'(T>)>>)(Int32)
Allocates array on device.
(Overrides GPGPU..::..Allocate<(Of <<'(T>)>>)(Int32).)
Public methodAllocate<(Of <<'(T>)>>)(array<T,3>[,,](,,)[,,][,,]) (Overrides GPGPU..::..Allocate<(Of <<'(T>)>>)(array<T,3>[,,](,,)[,,][,,]).)
Public methodAllocate<(Of <<'(T>)>>)(array<T,2>[,](,)[,][,]) (Overrides GPGPU..::..Allocate<(Of <<'(T>)>>)(array<T,2>[,](,)[,][,]).)
Public methodAllocate<(Of <<'(T>)>>)(array<T>[]()[][])
Allocates array on device of same size as supplied host array.
(Overrides GPGPU..::..Allocate<(Of <<'(T>)>>)(array<T>[]()[][]).)
Public methodAllocate<(Of <<'(T>)>>)(array<T,3>[,,](,,)[,,][,,])
Allocates array on device of same size as supplied host array.
(Inherited from GPGPU.)
Public methodAllocate<(Of <<'(T>)>>)(array<T,2>[,](,)[,][,])
Allocates array on device of same size as supplied host array.
(Inherited from GPGPU.)
Public methodAllocate<(Of <<'(T>)>>)(array<T>[]()[][])
Allocates array on device of same size as supplied host array.
(Inherited from GPGPU.)
Public methodAllocate<(Of <<'(T>)>>)(Int32, Int32)
Allocates array on device.
(Overrides GPGPU..::..Allocate<(Of <<'(T>)>>)(Int32, Int32).)
Public methodAllocate<(Of <<'(T>)>>)(Int32, Int32, Int32)
Allocates array on device.
(Overrides GPGPU..::..Allocate<(Of <<'(T>)>>)(Int32, Int32, Int32).)
Public methodCopyFromDevice<(Of <<'(T>)>>)(T, T%)
Copies from device.
(Overrides GPGPU..::..CopyFromDevice<(Of <<'(T>)>>)(T, T%).)
Public methodCopyFromDevice<(Of <<'(T>)>>)(T, T%)
Copies from device.
(Inherited from GPGPU.)
Public methodCopyFromDevice<(Of <<'(T>)>>)(array<T,3>[,,](,,)[,,][,,], array<T,3>[,,](,,)[,,][,,])
Copies the complete device array to the host array.
(Inherited from GPGPU.)
Public methodCopyFromDevice<(Of <<'(T>)>>)(array<T,2>[,](,)[,][,], array<T,2>[,](,)[,][,])
Copies the complete device array to the host array.
(Inherited from GPGPU.)
Public methodCopyFromDevice<(Of <<'(T>)>>)(array<T>[]()[][], T%)
Copies from device.
(Inherited from GPGPU.)
Public methodCopyFromDevice<(Of <<'(T>)>>)(array<T>[]()[][], array<T>[]()[][])
Copies the complete device array to the host array.
(Inherited from GPGPU.)
Public methodCopyFromDevice<(Of <<'(T>)>>)(array<T>[]()[][], Int32, IntPtr, Int32, Int32)
Copies from device.
(Inherited from GPGPU.)
Public methodCopyFromDevice<(Of <<'(T>)>>)(array<T>[]()[][], Int32, array<T>[]()[][], Int32, Int32)
Copies from device.
(Inherited from GPGPU.)
Public methodCopyFromDeviceAsync<(Of <<'(T>)>>)
Copies from device asynchronously.
(Inherited from GPGPU.)
Public methodCopyOnDevice<(Of <<'(T>)>>)(array<T>[]()[][], array<T>[]()[][])
Copies between preallocated arrays on device.
(Overrides GPGPU..::..CopyOnDevice<(Of <<'(T>)>>)(array<T>[]()[][], array<T>[]()[][]).)
Public methodCopyOnDevice<(Of <<'(T>)>>)(array<T>[]()[][], array<T>[]()[][])
Copies between preallocated arrays on device.
(Inherited from GPGPU.)
Public methodCopyOnDevice<(Of <<'(T>)>>)(array<T>[]()[][], Int32, array<T>[]()[][], Int32, Int32)
Copies between preallocated arrays on device.
(Overrides GPGPU..::..CopyOnDevice<(Of <<'(T>)>>)(array<T>[]()[][], Int32, array<T>[]()[][], Int32, Int32).)
Public methodCopyOnDevice<(Of <<'(T>)>>)(array<T>[]()[][], Int32, array<T>[]()[][], Int32, Int32)
Copies between preallocated arrays on device.
(Inherited from GPGPU.)
Public methodCopyToConstantMemory<(Of <<'(T>)>>)(array<T,3>[,,](,,)[,,][,,], array<T,3>[,,](,,)[,,][,,])
Copies to constant memory.
(Inherited from GPGPU.)
Public methodCopyToConstantMemory<(Of <<'(T>)>>)(array<T,2>[,](,)[,][,], array<T,2>[,](,)[,][,])
Copies to constant memory.
(Inherited from GPGPU.)
Public methodCopyToConstantMemory<(Of <<'(T>)>>)(array<T>[]()[][], array<T>[]()[][])
Copies to constant memory.
(Inherited from GPGPU.)
Public methodCopyToDevice<(Of <<'(T>)>>)(array<T,3>[,,](,,)[,,][,,])
Allocates array on device, copies to device and returns pointer.
(Overrides GPGPU..::..CopyToDevice<(Of <<'(T>)>>)(array<T,3>[,,](,,)[,,][,,]).)
Public methodCopyToDevice<(Of <<'(T>)>>)(array<T,2>[,](,)[,][,])
Allocates array on device, copies to device and returns pointer.
(Overrides GPGPU..::..CopyToDevice<(Of <<'(T>)>>)(array<T,2>[,](,)[,][,]).)
Public methodCopyToDevice<(Of <<'(T>)>>)(array<T>[]()[][])
Allocates array on device, copies to device and returns pointer.
(Overrides GPGPU..::..CopyToDevice<(Of <<'(T>)>>)(array<T>[]()[][]).)
Public methodCopyToDevice<(Of <<'(T>)>>)(array<T,3>[,,](,,)[,,][,,])
Allocates array on device, copies to device and returns pointer.
(Inherited from GPGPU.)
Public methodCopyToDevice<(Of <<'(T>)>>)(array<T,2>[,](,)[,][,])
Allocates array on device, copies to device and returns pointer.
(Inherited from GPGPU.)
Public methodCopyToDevice<(Of <<'(T>)>>)(array<T>[]()[][])
Allocates array on device, copies to device and returns pointer.
(Inherited from GPGPU.)
Public methodCopyToDevice<(Of <<'(T>)>>)(array<T,3>[,,](,,)[,,][,,], array<T,3>[,,](,,)[,,][,,])
Copies to preallocated array on device.
(Inherited from GPGPU.)
Public methodCopyToDevice<(Of <<'(T>)>>)(array<T,2>[,](,)[,][,], array<T,2>[,](,)[,][,])
Copies to preallocated array on device.
(Inherited from GPGPU.)
Public methodCopyToDevice<(Of <<'(T>)>>)(array<T>[]()[][], array<T>[]()[][])
Copies to preallocated array on device.
(Inherited from GPGPU.)
Public methodCopyToDevice<(Of <<'(T>)>>)(IntPtr, Int32, array<T>[]()[][], Int32, Int32)
Copies to preallocated array on device.
(Inherited from GPGPU.)
Public methodCopyToDevice<(Of <<'(T>)>>)(array<T>[]()[][], Int32, array<T>[]()[][], Int32, Int32)
Copies to preallocated array on device.
(Inherited from GPGPU.)
Public methodCopyToDeviceAsync<(Of <<'(T>)>>)
Copies asynchronously to preallocated array on device.
(Inherited from GPGPU.)
Public methodDestroyStream
Destroys the stream.
(Overrides GPGPU..::..DestroyStream(Int32).)
Public methodDisableMultithreading
Called once multiple threads have completed work.
(Overrides GPGPU..::..DisableMultithreading()()()().)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from GPGPU.)
Public methodEnableMultithreading
Allows multiple threads to access this GPU.
(Overrides GPGPU..::..EnableMultithreading()()()().)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFree
Frees the specified data array on device.
(Overrides GPGPU..::..Free(Object).)
Public methodFreeAll
Frees all data arrays on device.
(Overrides GPGPU..::..FreeAll()()()().)
Public methodStatic memberGetDeviceCount
Gets the device count.
Public methodGetDeviceMemory
Gets the device memory for key specified.
(Inherited from GPGPU.)
Public methodGetDeviceProperties
Gets the device properties.
(Overrides GPGPU..::..GetDeviceProperties(Boolean).)
Public methodGetGPUData
Gets the pointer to the native GPU data.
(Overrides GPGPU..::..GetGPUData(Object).)
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 methodHostAllocate<(Of <<'(T>)>>)(Int32)
Performs a default host memory allocation.
(Overrides GPGPU..::..HostAllocate<(Of <<'(T>)>>)(Int32).)
Public methodHostAllocate<(Of <<'(T>)>>)(Int32, Int32)
Performs a default host memory allocation.
(Inherited from GPGPU.)
Public methodHostAllocate<(Of <<'(T>)>>)(Int32, Int32, Int32)
Performs a default host memory allocation.
(Inherited from GPGPU.)
Public methodHostFree
Frees memory allocated by HostAllocate.
(Overrides GPGPU..::..HostFree(IntPtr).)
Public methodHostFreeAll
Frees all memory allocated by HostAllocate.
(Overrides GPGPU..::..HostFreeAll()()()().)
Public methodIsOnGPU
Determines whether the specified data is on GPU.
(Inherited from GPGPU.)
Public methodLaunch(Int32, dim3, String, array<Object>[]()[][])
Launches the specified kernel.
(Inherited from GPGPU.)
Public methodLaunch(Int32, Int32, String, array<Object>[]()[][])
Launches the specified kernel.
(Inherited from GPGPU.)
Public methodLaunch(dim3, dim3, String, array<Object>[]()[][])
Launches the specified kernel.
(Inherited from GPGPU.)
Public methodLaunch(dim3, Int32, String, array<Object>[]()[][])
Launches the specified kernel.
(Inherited from GPGPU.)
Public methodLaunchAsync(Int32, dim3, Int32, String, array<Object>[]()[][])
Launches the specified kernel.
(Inherited from GPGPU.)
Public methodLaunchAsync(Int32, Int32, Int32, String, array<Object>[]()[][])
Launches the specified kernel.
(Inherited from GPGPU.)
Public methodLaunchAsync(dim3, dim3, Int32, String, array<Object>[]()[][])
Launches the specified kernel.
(Inherited from GPGPU.)
Public methodLaunchAsync(dim3, Int32, Int32, String, array<Object>[]()[][])
Launches the specified kernel.
(Inherited from GPGPU.)
Public methodLoadModule(String)
Loads module from file.
(Inherited from GPGPU.)
Public methodLoadModule(CudafyModule)
Loads module from module instance.
(Overrides GPGPU..::..LoadModule(CudafyModule).)
Public methodLock
Locks this instance.
(Overrides GPGPU..::..Lock()()()().)
Public methodSet<(Of <<'(T>)>>)(array<T,3>[,,](,,)[,,][,,])
Sets the specified device array to zero.
(Inherited from GPGPU.)
Public methodSet<(Of <<'(T>)>>)(array<T,2>[,](,)[,][,])
Sets the specified device array to zero.
(Inherited from GPGPU.)
Public methodSet<(Of <<'(T>)>>)(array<T>[]()[][])
Sets the specified device array to zero.
(Inherited from GPGPU.)
Public methodSet<(Of <<'(T>)>>)(array<T,3>[,,](,,)[,,][,,], Int32, Int32)
Sets the specified device array to zero.
(Inherited from GPGPU.)
Public methodSet<(Of <<'(T>)>>)(array<T,2>[,](,)[,][,], Int32, Int32)
Sets the specified device array to zero.
(Inherited from GPGPU.)
Public methodSet<(Of <<'(T>)>>)(array<T>[]()[][], Int32, Int32)
Sets the specified device array to zero.
(Inherited from GPGPU.)
Public methodStartTimer
Starts the timer.
(Overrides GPGPU..::..StartTimer()()()().)
Public methodStopTimer
Stops the timer.
(Overrides GPGPU..::..StopTimer()()()().)
Public methodSynchronize
Synchronizes context.
(Overrides GPGPU..::..Synchronize()()()().)
Public methodSynchronizeStream
Synchronizes the stream.
(Overrides GPGPU..::..SynchronizeStream(Int32).)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodUnlock
Unlocks this instance.
(Overrides GPGPU..::..Unlock()()()().)
Public methodVerifyOnGPU
Verifies the specified data is on GPU.
(Inherited from GPGPU.)

Properties

  NameDescription
Public propertyCudaDotNet
Gets the CUDA.NET handle. You can cast this to CUDA in the GASS.CUDA namespace. See http://www.hoopoe-cloud.com/Solutions/CUDA.NET/Default.aspx
Public propertyCurrentModule
Gets the current module.
(Inherited from GPGPU.)
Public propertyDeviceId
Gets the device id.
(Inherited from GPGPU.)
Public propertyFreeMemory
Gets the free memory.
(Overrides GPGPU..::..FreeMemory.)
Public propertyIsDisposed
Gets a value indicating whether this instance is disposed.
(Inherited from GPGPU.)

See Also