Skip to content

Commit

Permalink
refactor: matrix, vector comments
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiipatov committed Sep 29, 2023
1 parent bb708d0 commit eb82c53
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/GraphBLAS-sharp.Backend/Objects/Matrix.fs
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,21 @@ module ClMatrix =
/// </summary>
[<RequireQualifiedAccess>]
type ClMatrix<'a when 'a: struct> =
/// <summary>
/// Represents an abstraction over matrix in CSR format, whose values and indices are in OpenCL device memory.
/// </summary>
| CSR of ClMatrix.CSR<'a>
/// <summary>
/// Represents an abstraction over matrix in COO format, whose values and indices are in OpenCL device memory.
/// </summary>
| COO of ClMatrix.COO<'a>
/// <summary>
/// Represents an abstraction over matrix in CSC format, whose values and indices are in OpenCL device memory.
/// </summary>
| CSC of ClMatrix.CSC<'a>
/// <summary>
/// Represents an abstraction over matrix in LIL format, whose values and indices are in OpenCL device memory.
/// </summary>
| LIL of ClMatrix.LIL<'a>

/// <summary>
Expand Down
6 changes: 6 additions & 0 deletions src/GraphBLAS-sharp.Backend/Objects/Vector.fs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ module ClVector =
/// </summary>
[<RequireQualifiedAccess>]
type ClVector<'a when 'a: struct> =
/// <summary>
/// Represents an abstraction over sparse vector, whose values and indices are in OpenCL device memory.
/// </summary>
| Sparse of ClVector.Sparse<'a>
/// <summary>
/// Represents an abstraction over dense vector, whose values and indices are in OpenCL device memory.
/// </summary>
| Dense of ClArray<'a option>

/// <summary>
Expand Down

0 comments on commit eb82c53

Please sign in to comment.