Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gpu_mod
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
Service Desk
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
faust group
gpu_mod
Commits
af1104f7
Commit
af1104f7
authored
4 years ago
by
hhadjdji
Browse files
Options
Downloads
Patches
Plain Diff
Minor change: more info in free_dbuf DEBUG message.
parent
dbf41336
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cuda_utils.hpp
+5
-0
5 additions, 0 deletions
src/cuda_utils.hpp
with
5 additions
and
0 deletions
src/cuda_utils.hpp
+
5
−
0
View file @
af1104f7
...
...
@@ -31,6 +31,11 @@ void free_dbuf(T *dmat)
MemoryMonitor
::
alloc_memory
-=
MemoryMonitor
::
memory
[
dmat
];
std
::
cout
<<
"free_dbuf, total allocated MemoryMonitor::memory: "
<<
MemoryMonitor
::
alloc_memory
<<
" (freed: "
<<
dmat
<<
", "
<<
MemoryMonitor
::
memory
[
dmat
]
<<
")"
<<
std
::
endl
;
MemoryMonitor
::
memory
.
erase
(
dmat
);
std
::
cout
<<
"buffers left to deallocate: "
<<
MemoryMonitor
::
memory
.
size
()
<<
std
::
endl
;
if
(
MemoryMonitor
::
memory
.
size
()
<
100
)
for
(
auto
e
:
MemoryMonitor
::
memory
)
std
::
cout
<<
e
.
first
<<
" "
;
std
::
cout
<<
std
::
endl
;
}
#endif
}
...
...
This diff is collapsed.
Click to expand it.
hhakim
@hricha
mentioned in commit
faust@0ba074ba
·
4 years ago
mentioned in commit
faust@0ba074ba
mentioned in commit faust@0ba074ba8aa5cd2ed7c1d2a1caf75aaa5cec8c37
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment