Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Merge requests
!552
More standard ways of linking other allocators - Correctly apply tc-malloc recommended flags.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
More standard ways of linking other allocators - Correctly apply tc-malloc recommended flags.
tcmalloc_flags
into
master
Overview
17
Commits
7
Changes
8
Merged
Matthieu Schaller
requested to merge
tcmalloc_flags
into
master
7 years ago
Overview
17
Commits
7
Changes
8
Expand
Changes are:
Correctly cancel the built-ins to malloc and friends that GCC and friends use when compiling with an alternative allocator library.
Add the option to link in TBBmalloc following the same pattern as tcmalloc and jemalloc.
Make sure we do not have more than one alternative allocator library linked in.
Update the README.
Also make use of the alternative allocators in the unit tests.
Print the allocator choice into the snapshot meta-data.
Edited
7 years ago
by
Matthieu Schaller
0
0
Merge request reports
Compare
master
version 3
4df4336f
7 years ago
version 2
b9f10dad
7 years ago
version 1
4e6c833b
7 years ago
master (base)
and
latest version
latest version
0c22a0df
7 commits,
7 years ago
version 3
4df4336f
6 commits,
7 years ago
version 2
b9f10dad
5 commits,
7 years ago
version 1
4e6c833b
4 commits,
7 years ago
8 files
+
211
−
107
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
Search (e.g. *.vue) (Ctrl+P)
examples/Makefile.am
+
1
−
1
Options
@@ -24,7 +24,7 @@ AM_CFLAGS = -I$(top_srcdir)/src $(HDF5_CPPFLAGS) $(GSL_INCS) $(FFTW_INCS)
AM_LDFLAGS
=
$(
HDF5_LDFLAGS
)
# Extra libraries.
EXTRA_LIBS
=
$(
HDF5_LIBS
)
$(
FFTW_LIBS
)
$(
PROFILER_LIBS
)
$(
TCMALLOC_LIBS
)
$(
JEMALLOC_LIBS
)
$(
GRACKLE_LIBS
)
$(
GSL_LIBS
)
EXTRA_LIBS
=
$(
HDF5_LIBS
)
$(
FFTW_LIBS
)
$(
PROFILER_LIBS
)
$(
TCMALLOC_LIBS
)
$(
JEMALLOC_LIBS
)
$(
TBBMALLOC_LIBS
)
$(
GRACKLE_LIBS
)
$(
GSL_LIBS
)
# MPI libraries.
MPI_LIBS
=
$(
METIS_LIBS
)
$(
MPI_THREAD_LIBS
)
Loading