File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
src/GraphBLAS-sharp.Backend Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -225,6 +225,8 @@ module internal PrefixSumInternal =
225
225
/// </example>
226
226
/// <param name="clContext">ClContext.</param>
227
227
/// <param name="workGroupSize">Should be a power of 2 and greater than 1.</param>
228
+ [<System.ObsoleteAttribute( " This method is deprecated due to bad perfomance. Use method from Scan module instead." ,
229
+ false ) >]
228
230
let standardExcludeInPlace ( clContext : ClContext ) workGroupSize =
229
231
230
232
let scan =
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ module internal Radix =
156
156
let count = count clContext workGroupSize mask
157
157
158
158
let prefixSum =
159
- PrefixSumInternal .standardExcludeInPlace clContext workGroupSize
159
+ ScanInternal .standardExcludeInPlace clContext workGroupSize
160
160
161
161
let scatter = scatter clContext workGroupSize mask
162
162
@@ -259,7 +259,7 @@ module internal Radix =
259
259
let count = count clContext workGroupSize mask
260
260
261
261
let prefixSum =
262
- PrefixSumInternal .standardExcludeInPlace clContext workGroupSize
262
+ ScanInternal .standardExcludeInPlace clContext workGroupSize
263
263
264
264
let scatterByKey =
265
265
scatterByKey clContext workGroupSize mask
Original file line number Diff line number Diff line change @@ -529,7 +529,7 @@ module Reduce =
529
529
Scatter.lastOccurrence clContext workGroupSize
530
530
531
531
let prefixSum =
532
- PrefixSumInternal .standardExcludeInPlace clContext workGroupSize
532
+ ScanInternal .standardExcludeInPlace clContext workGroupSize
533
533
534
534
fun ( processor : MailboxProcessor < _ >) allocationMode ( keys : ClArray < int >) ( values : ClArray < 'a option >) ->
535
535
@@ -661,7 +661,7 @@ module Reduce =
661
661
Scatter.lastOccurrence clContext workGroupSize
662
662
663
663
let prefixSum =
664
- PrefixSumInternal .standardExcludeInPlace clContext workGroupSize
664
+ ScanInternal .standardExcludeInPlace clContext workGroupSize
665
665
666
666
fun ( processor : MailboxProcessor < _ >) allocationMode ( resultLength : int ) ( offsets : ClArray < int >) ( keys : ClArray < int >) ( values : ClArray < 'a >) ->
667
667
@@ -940,7 +940,7 @@ module Reduce =
940
940
Scatter.lastOccurrence clContext workGroupSize
941
941
942
942
let prefixSum =
943
- PrefixSumInternal .standardExcludeInPlace clContext workGroupSize
943
+ ScanInternal .standardExcludeInPlace clContext workGroupSize
944
944
945
945
fun ( processor : MailboxProcessor < _ >) allocationMode ( resultLength : int ) ( offsets : ClArray < int >) ( firstKeys : ClArray < int >) ( secondKeys : ClArray < int >) ( values : ClArray < 'a >) ->
946
946
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ module SpMSpV =
65
65
inputArray.[ i] <- 0 @>
66
66
67
67
let sum =
68
- PrefixSumInternal .standardExcludeInPlace clContext workGroupSize
68
+ ScanInternal .standardExcludeInPlace clContext workGroupSize
69
69
70
70
let prepareOffsets = clContext.Compile prepareOffsets
71
71
You can’t perform that action at this time.
0 commit comments