Builds a new OpenCL Image2D containing vector data. More...
Public Member Functions | |
| CLImgVector (int Length) | |
| Creates a new vector allocated in OpenCL Image2D object. | |
| void | WriteToDevice () |
| Effectively writes contents of VectorData to Device memory. | |
| void | ReadFromDevice () |
| Reads contents of CLVector image2d to VectorData. | |
| CLImgVector (int Length) | |
| Creates a new vector allocated in OpenCL Image2D object. | |
| void | WriteToDevice () |
| Effectively writes contents of VectorData to Device memory. | |
| void | ReadFromDevice () |
| Reads contents of CLVector image2d to VectorData. | |
| CLImgVector (int Length) | |
| Creates a new vector allocated in OpenCL Image2D object. | |
| void | WriteToDevice () |
| Effectively writes contents of VectorData to Device memory. | |
| void | ReadFromDevice () |
| Reads contents of CLVector image2d to VectorData. | |
Public Attributes | |
| CLCalc.Program.Image2D | CLVector |
| Image2D representing vector contents. | |
| float[] | VectorData |
| Vector to be written/read from Device memory. Call WriteToDevice to effectively copy to Device memory. | |
Properties | |
| int | Length [get] |
| Gets the length of this vector. | |
Builds a new OpenCL Image2D containing vector data.
| OpenCLTemplate.LinearAlgebra.SparseLinalg.CLImgVector.CLImgVector | ( | int | Length | ) |
Creates a new vector allocated in OpenCL Image2D object.
| Length | Vector length. For convenience some extra memory is allocated but calculations only go up to vector dimensions |
| OpenCLTemplate.LinearAlgebra.SparseLinalg.CLImgVector.CLImgVector | ( | int | Length | ) |
Creates a new vector allocated in OpenCL Image2D object.
| Length | Vector length. For convenience some extra memory is allocated but calculations only go up to vector dimensions |
| OpenCLTemplate.LinearAlgebra.SparseLinalg.CLImgVector.CLImgVector | ( | int | Length | ) |
Creates a new vector allocated in OpenCL Image2D object.
| Length | Vector length. For convenience some extra memory is allocated but calculations only go up to vector dimensions |
| void OpenCLTemplate.LinearAlgebra.SparseLinalg.CLImgVector.ReadFromDevice | ( | ) |
Reads contents of CLVector image2d to VectorData.
| void OpenCLTemplate.LinearAlgebra.SparseLinalg.CLImgVector.ReadFromDevice | ( | ) |
Reads contents of CLVector image2d to VectorData.
| void OpenCLTemplate.LinearAlgebra.SparseLinalg.CLImgVector.ReadFromDevice | ( | ) |
Reads contents of CLVector image2d to VectorData.
| void OpenCLTemplate.LinearAlgebra.SparseLinalg.CLImgVector.WriteToDevice | ( | ) |
Effectively writes contents of VectorData to Device memory.
| void OpenCLTemplate.LinearAlgebra.SparseLinalg.CLImgVector.WriteToDevice | ( | ) |
Effectively writes contents of VectorData to Device memory.
| void OpenCLTemplate.LinearAlgebra.SparseLinalg.CLImgVector.WriteToDevice | ( | ) |
Effectively writes contents of VectorData to Device memory.
Image2D representing vector contents.
Vector to be written/read from Device memory. Call WriteToDevice to effectively copy to Device memory.
int OpenCLTemplate::LinearAlgebra.SparseLinalg.CLImgVector::Length [get] |
Gets the length of this vector.
1.6.3