Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
solverstack
ScalFMM
Commits
1926fac0
Commit
1926fac0
authored
Jul 17, 2015
by
BRAMAS Berenger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simply set a mem to 0 for valgrind
parent
5f89650d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
Src/Core/FFmmAlgorithmThreadBalance.hpp
Src/Core/FFmmAlgorithmThreadBalance.hpp
+1
-0
No files found.
Src/Core/FFmmAlgorithmThreadBalance.hpp
View file @
1926fac0
...
...
@@ -346,6 +346,7 @@ protected:
workloadBufferThread
[
omp_get_thread_num
()]
=
new
WorkloadTemp
[
leafsNumber
];
}
WorkloadTemp
*
workloadBuffer
=
workloadBufferThread
[
omp_get_thread_num
()];
memset
(
workloadBuffer
,
0
,
sizeof
(
struct
WorkloadTemp
)
*
leafsNumber
);
// Prepare the P2P
const
int
LeafIndex
=
OctreeHeight
-
1
;
leafsDataArray
.
reset
(
new
LeafData
[
leafsNumber
]);
...
...
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