Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
3dc0f5a7
Commit
3dc0f5a7
authored
Sep 10, 2011
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increased the max size matrix which will allocate its memory on the stack
from 128 bytes to 256 bytes.
parent
748ec4cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
matrix_data_layout.h
dlib/matrix/matrix_data_layout.h
+2
-2
No files found.
dlib/matrix/matrix_data_layout.h
View file @
3dc0f5a7
...
...
@@ -72,7 +72,7 @@ namespace dlib
struct
row_major_layout
{
// if a matrix is bigger than this many bytes then don't put it on the stack
const
static
size_t
max_stack_based_size
=
128
;
const
static
size_t
max_stack_based_size
=
256
;
// this is a hack to avoid a compile time error in visual studio 8. I would just
// use sizeof(T) and be done with it but that won't compile. The idea here
...
...
@@ -484,7 +484,7 @@ namespace dlib
struct
column_major_layout
{
// if a matrix is bigger than this many bytes then don't put it on the stack
const
static
size_t
max_stack_based_size
=
128
;
const
static
size_t
max_stack_based_size
=
256
;
// this is a hack to avoid a compile time error in visual studio 8. I would just
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment