Class CudaJitOptionCollection
A list of JIT compiler / linker option passed to Cuda.
If buffer options are used (i.e. InfoLogBuffer and ErrorLogBuffer), this collection should only be used once as buffer size is overwritten by Cuda.
To copy data from unmanaged to managed memory, call UpdateValues() after the API call that produced output data.
Maximum number of options is limited to 30.
Inheritance
System.Object
CudaJitOptionCollection
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: ManagedCuda
Assembly: ManagedCuda.dll
Syntax
public class CudaJitOptionCollection : IDisposable
Fields
| Improve this Doc View Sourcedisposed
Declaration
protected bool disposed
Field Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceAdd(CudaJitOption)
Add a single option to the collection.
Declaration
public void Add(CudaJitOption opt)
Parameters
Type | Name | Description |
---|---|---|
CudaJitOption | opt | Option to add |
Add(IList<CudaJitOption>)
A multiple options to the collection.
Declaration
public void Add(IList<CudaJitOption> options)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<CudaJitOption> | options | Options to add |
Dispose()
Dispose
Declaration
public void Dispose()
Dispose(Boolean)
For IDisposable
Declaration
protected virtual void Dispose(bool fDisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | fDisposing |
Finalize()
For dispose
Declaration
protected void Finalize()
ResetValues()
Reset values returned from Cuda API for info and error buffers.
Declaration
public void ResetValues()
UpdateValues()
Copy data from unmanaged to managed memory
Declaration
public void UpdateValues()
Implements
System.IDisposable