File tree Expand file tree Collapse file tree
src/GraphBLAS-sharp.Backend/Common
tests/GraphBLAS-sharp.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -295,10 +295,10 @@ module ClArray =
295295
296296 outputArray
297297
298- let exists < 'a when 'a : struct > ( clContext : ClContext ) ( workGroupSize : int ) ( predicate : Expr < 'a option -> bool >) =
298+ let exists ( clContext : ClContext ) ( workGroupSize : int ) ( predicate : Expr < 'a -> bool >) =
299299
300300 let exists =
301- <@ fun ( ndRange : Range1D ) length ( vector : ClArray < 'a option >) ( result : ClCell < bool >) ->
301+ <@ fun ( ndRange : Range1D ) length ( vector : ClArray < 'a >) ( result : ClCell < bool >) ->
302302
303303 let gid = ndRange.GlobalID0
304304
@@ -309,7 +309,7 @@ module ClArray =
309309
310310 let kernel = clContext.Compile exists
311311
312- fun ( processor : MailboxProcessor < _ >) ( vector : ClArray < 'a option >) ->
312+ fun ( processor : MailboxProcessor < _ >) ( vector : ClArray < 'a >) ->
313313
314314 let result = clContext.CreateClCell false
315315
Original file line number Diff line number Diff line change @@ -16,14 +16,15 @@ let matrixTests =
1616let commonTests =
1717 testList
1818 " Common tests"
19- [ Common.BitonicSort.tests
20- Common.PrefixSum.tests
21- Common.Scatter.tests
22- Common.RemoveDuplicates.tests
23- Common.Copy.tests
24- Common.Replicate.tests
25- Common.Reduce.tests
26- Common.Sum.tests
19+ [
20+ // [ Common.BitonicSort.tests
21+ // Common.PrefixSum.tests
22+ // Common.Scatter.tests
23+ // Common.RemoveDuplicates.tests
24+ // Common.Copy.tests
25+ // Common.Replicate.tests
26+ // Common.Reduce.tests
27+ // Common.Sum.tests
2728 Common.Exists.tests ]
2829 |> testSequenced
2930
@@ -53,9 +54,10 @@ let allTests =
5354 testList
5455 " All tests"
5556 [ commonTests
56- matrixTests
57- vectorTests
58- algorithmsTests ]
57+ //matrixTests
58+ //vectorTests
59+ //algorithmsTests ]
60+ ]
5961 |> testSequenced
6062
6163[<EntryPoint>]
You can’t perform that action at this time.
0 commit comments