File tree Expand file tree Collapse file tree
src/GraphBLAS-sharp.Backend
tests/GraphBLAS-sharp.Tests/BackendCommonTests Expand file tree Collapse file tree Load Diff Large diffs are not rendered by default.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1515 <Compile Include =" Common/Utils.fs" />
1616 <Compile Include =" Common/Sum.fs" />
1717 <Compile Include =" Common\ClArray.fs" />
18- <Compile Include =" Common\PrefixSum.fs" />
1918 <Compile Include =" Common/BitonicSort.fs" />
2019 <Compile Include =" Common/Scatter.fs" />
2120 <Compile Include =" Common/StandardOperations.fs" />
3332 <Compile Include =" Matrix/CSRMatrix/CSRMatrix.fs" />
3433 <Compile Include =" Matrix/CSRMatrix/SpMV.fs" />
3534 <Compile Include =" Matrix/Matrix.fs" />
36- <Folder Include =" Vector" />
3735 <!-- Compile Include="Backend/CSRMatrix/GetTuples.fs" /-->
3836 <!-- Compile Include="Backend/CSRMatrix/SpMSpV.fs" /-->
3937 <!-- Compile Include="Backend/CSRMatrix/Transpose.fs" /-->
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ namespace GraphBLAS.FSharp.Backend
33open Brahma.FSharp
44open GraphBLAS.FSharp .Backend
55open GraphBLAS.FSharp .Backend .Common
6+ open GraphBLAS.FSharp .Backend .Predefined
67open Microsoft.FSharp .Quotations
78
89module COOMatrix =
@@ -14,8 +15,7 @@ module COOMatrix =
1415
1516 let valuesScatter = Scatter.runInplace clContext workGroupSize
1617
17- let sum =
18- GraphBLAS.FSharp.Backend.ClArray.prefixSumExcludeInplace clContext workGroupSize
18+ let sum = PrefixSum.standardExcludeInplace clContext workGroupSize
1919
2020 let resultLength = Array.zeroCreate 1
2121
@@ -430,7 +430,7 @@ module COOMatrix =
430430 let create = ClArray.create clContext workGroupSize
431431
432432 let scan =
433- PrefixSum.runBackwardsIncludeInplace <@ min @> clContext workGroupSize
433+ ClArray.prefixSumBackwardsIncludeInplace <@ min @> clContext workGroupSize
434434
435435 fun ( processor : MailboxProcessor < _ >) ( rowIndices : ClArray < int >) rowCount ->
436436
Original file line number Diff line number Diff line change 11namespace GraphBLAS.FSharp.Backend
22
33open Brahma.FSharp
4- open GraphBLAS.FSharp .Backend
54open GraphBLAS.FSharp .Backend .Common
5+ open GraphBLAS.FSharp .Backend
66open GraphBLAS.FSharp .Backend .Elementwise
77open Microsoft.FSharp .Quotations
88
@@ -25,7 +25,7 @@ module CSRMatrix =
2525 let create = ClArray.create clContext workGroupSize
2626
2727 let scan =
28- PrefixSum.runIncludeInplace <@ max @> clContext workGroupSize
28+ ClArray.prefixSumIncludeInplace <@ max @> clContext workGroupSize
2929
3030 fun ( processor : MailboxProcessor < _ >) ( rowPointers : ClArray < int >) nnz rowCount ->
3131
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ open System.Diagnostics.CodeAnalysis
55open Brahma.FSharp
66open GraphBLAS.FSharp .Backend
77open GraphBLAS.FSharp .Backend .Common
8+ open GraphBLAS.FSharp .Backend .Predefined
89open Microsoft.FSharp .Quotations
910
1011module internal Elementwise =
@@ -154,8 +155,7 @@ module internal Elementwise =
154155
155156 let setPositions < 'a when 'a : struct > ( clContext : ClContext ) workGroupSize =
156157
157- let sum =
158- GraphBLAS.FSharp.Backend.ClArray.prefixSumExcludeInplace clContext workGroupSize
158+ let sum = PrefixSum.standardExcludeInplace clContext workGroupSize
159159
160160 let indicesScatter = Scatter.runInplace clContext workGroupSize
161161
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ namespace GraphBLAS.FSharp.Backend
22
33open GraphBLAS.FSharp .Backend .Common
44open Brahma.FSharp
5+ open GraphBLAS.FSharp .Backend .Predefined
56open GraphBLAS.FSharp .Backend
67open Microsoft.FSharp .Quotations
7- open GraphBLAS.FSharp .Backend .Predefined
88
99module internal SpGEMM =
1010 let private calculate
You can’t perform that action at this time.
0 commit comments