OpenCLTemplate.LinearAlgebra.SparseLinalg.CLImgVector Class Reference

Builds a new OpenCL Image2D containing vector data. More...

List of all members.

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.

Detailed Description

Builds a new OpenCL Image2D containing vector data.


Constructor & Destructor Documentation

OpenCLTemplate.LinearAlgebra.SparseLinalg.CLImgVector.CLImgVector ( int  Length  ) 

Creates a new vector allocated in OpenCL Image2D object.

Parameters:
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.

Parameters:
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.

Parameters:
Length Vector length. For convenience some extra memory is allocated but calculations only go up to vector dimensions

Member Function Documentation

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.


Member Data Documentation

Image2D representing vector contents.

Vector to be written/read from Device memory. Call WriteToDevice to effectively copy to Device memory.


Property Documentation

int OpenCLTemplate::LinearAlgebra.SparseLinalg.CLImgVector::Length [get]

Gets the length of this vector.

Generated on Sun Dec 4 17:27:04 2011 for OpenCLTemplate by  doxygen 1.6.3