Skip to content

Commit

Permalink
fix: spgemm maxAllocSize calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiipatov committed Sep 30, 2023
1 parent e187916 commit 441a2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GraphBLAS-sharp.Backend/Operations/Operations.fs
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ module Operations =
(clContext.MaxMemAllocSize / allocCapacity) / 3UL

let resultCapacity =
(max
(min
<| uint64 System.Int32.MaxValue
<| resultCapacity)
|> int
Expand Down

0 comments on commit 441a2f9

Please sign in to comment.