projects
/
platform
/
upstream
/
caffeonacl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c84908a
)
syncedmem.hpp: \brief and todo
author
Jeff Donahue
<jeff.donahue@gmail.com>
Sat, 30 Aug 2014 22:06:16 +0000
(15:06 -0700)
committer
Evan Shelhamer
<shelhamer@imaginarynumber.net>
Wed, 3 Sep 2014 17:59:24 +0000
(10:59 -0700)
include/caffe/syncedmem.hpp
patch
|
blob
|
history
diff --git
a/include/caffe/syncedmem.hpp
b/include/caffe/syncedmem.hpp
index
b2fc287
..
db8d0e8
100644
(file)
--- a/
include/caffe/syncedmem.hpp
+++ b/
include/caffe/syncedmem.hpp
@@
-31,6
+31,12
@@
inline void CaffeFreeHost(void* ptr) {
}
+/**
+ * @brief Manages memory allocation and synchronization between the host (CPU)
+ * and device (GPU).
+ *
+ * TODO(dox): more thorough description.
+ */
class SyncedMemory {
public:
SyncedMemory()