Class CUDACompiler
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Amplifier
Assembly: Amplifier.dll
Syntax
public class CUDACompiler : BaseCompiler, IDisposable
Constructors
| Improve this Doc View SourceCUDACompiler()
Declaration
public CUDACompiler()
Properties
| Improve this Doc View SourceDevices
Declaration
public override List<Device> Devices { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Device> |
Overrides
| Improve this Doc View SourceKernels
Declaration
public override List<string> Kernels { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Overrides
Methods
| Improve this Doc View SourceCompileKernel(Type)
Declaration
public override void CompileKernel(Type cls)
Parameters
Type | Name | Description |
---|---|---|
System.Type | cls |
Overrides
| Improve this Doc View SourceExecute<TSource>(String, Object[])
Declaration
public override void Execute<TSource>(string functionName, params object[] args)
where TSource : struct
Parameters
Type | Name | Description |
---|---|---|
System.String | functionName | |
System.Object[] | args |
Type Parameters
Name | Description |
---|---|
TSource |
Overrides
| Improve this Doc View SourceUseDevice(Int32)
Declaration
public override void UseDevice(int deviceId = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | deviceId |
Overrides
Implements
System.IDisposable