Skip to content

Commit 4c8ee4a

Browse files
committed
Added element-wise addition for COO matrices
1 parent 31bc3fd commit 4c8ee4a

4 files changed

Lines changed: 391 additions & 87 deletions

File tree

src/GraphBLAS-sharp/Abstracts.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ type Matrix<'a when 'a : struct and 'a : equality>(nrow: int, ncol: int) =
1515
abstract GetNNZ: unit -> OpenCLEvaluation<int>
1616
abstract GetTuples: unit -> OpenCLEvaluation<{| Rows: int[]; Columns: int[]; Values: 'a[] |}>
1717
abstract GetMask: ?isComplemented: bool -> OpenCLEvaluation<Mask2D option>
18+
abstract ToHost: unit -> OpenCLEvaluation<Matrix<'a>>
1819

1920
abstract Extract: Mask2D option -> OpenCLEvaluation<Matrix<'a>>
2021
abstract Extract: (Mask1D option * int) -> OpenCLEvaluation<Vector<'a>>

src/GraphBLAS-sharp/GraphBLAS-sharp.fsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<Compile Include="Monoid.fs" />
1515
<Compile Include="Semiring.fs" />
1616
<Compile Include="GlobalContext.fs" />
17+
<Compile Include="Toolbox.fs" />
1718
<Compile Include="Scalar.fs" />
1819
<Compile Include="Abstracts.fs" />
1920
<Compile Include="Implementations.fs" />

0 commit comments

Comments
 (0)