Skip to content

Commit

Permalink
removed 95% maxsize
Browse files Browse the repository at this point in the history
  • Loading branch information
jrenaud90 authored Oct 6, 2023
1 parent fabd93e commit 20c30bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CyRK/cy/common.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ cdef double MAX_FACTOR = 10. # Maximum allowed increase in a step size.
cdef double MAX_STEP = INF
cdef double EPS_10 = EPS * 10.
cdef double EPS_100 = EPS * 100.
cdef size_t MAX_SIZET_SIZE = <size_t>(0.95 * SIZE_MAX)
cdef size_t MAX_INT_SIZE = <size_t>(0.95 * INT32_MAX)
cdef size_t MAX_SIZET_SIZE = <size_t>(SIZE_MAX)
cdef size_t MAX_INT_SIZE = <size_t>(INT32_MAX)

# # Memory management constants
# Assume that a cpu has a L1 of 300KB. Say that this progam will have access to 75% of that total.
Expand Down

0 comments on commit 20c30bc

Please sign in to comment.