Commit Graph

110 Commits (cd38e2d14251e581cce42176bc75c824ed7aaa52)

Author SHA1 Message Date
QI JUN 45e77154cf
add general memory usage interface for both CPU/CUDA (#7352)
9 years ago
Luo Tao 761b329793 unify the indentation of license
9 years ago
dzhwinter 0d2235aadf GPUPlace to CUDAPlace (#6960)
9 years ago
dzhwinter abde3130b7
"remove GPU Sync Interface" (#6793)
9 years ago
Yu Yang 1b0c7d7c7a
Simplize system_allocator and fix GPU_INFO (#6653)
9 years ago
tensor-tang 69b44f2f19 unify MKL macro definition
9 years ago
QI JUN 3a0a4586a3
refine GPU memory allocation policy (#6373)
9 years ago
QI JUN 1238706d72
Refine unittest with setting gflags (#5476)
9 years ago
Qiao Longfei c9172c1cb3
Make enforce target (#5889)
9 years ago
dzhwinter 0ed5a5513f
"update doc" (#5682)
9 years ago
qingqing01 3d567864bb
Merge pull request #5247 from qingqing01/memory_alignment
9 years ago
Qiao Longfei 2e91c7da2b memory log level change from 3 to 10 (#5231)
9 years ago
dangqingqing a328ae3b9b Use posix_memalign to allocate aligned memory, since some SIMD instructions require the alignment of memory accesses.
9 years ago
Yu Yang 2a5edec03e Add debug logs in scope, meta_cache and memory (#5170)
9 years ago
Yu Yang efc2464f6c Feature/save op (#5090)
9 years ago
Yu Yang 064c3695ec Make global scope not thread-safe (#4850)
9 years ago
Luo Tao 871a3f6e76 remove unused PADDLE_ONLY_CPU comment
9 years ago
Yi Wang 880b874b47 Merge branch 'develop' of https://github.com/paddlepaddle/paddle into paddle_only_cpu
9 years ago
Yi Wang 2b204f048b Rename platform::GetDeviceCount into platform::GetCUDADeviceCount
9 years ago
Yi Wang 4558807c48 Use PADDLE_WITH_CUDA instead of PADDLE_WITH_GPU
9 years ago
Yu Yang 84500f9487 Change `PADDLE_ONLY_CPU` to `PADDLE_WITH_GPU`
9 years ago
Yancey d7db15f3e5 Use StridedMemCpy in Concat/Split Kernel (#4188)
9 years ago
Yu Yang 60857f4909 Unify clang-format and add some missing clang-format
9 years ago
Yu Yang c5fa417c62 Host and device transform API
9 years ago
liaogang 4de2b8e196 Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into environ
9 years ago
liaogang 55437b58b9 Add ENVIRONMENT interface interface
9 years ago
liaogang 017a3818de Add memory.h for unique_ptr
9 years ago
liaogang 94b58a29d6 Follow comments
9 years ago
liaogang 3f9fe62487 Fix typo error
9 years ago
liaogang ff5bfc1c89 Google style for header file includes
9 years ago
liaogang 33228cacdd Fix typo error
9 years ago
liaogang 2f7489fbd5 change use_pinned_memory to true for cpu
9 years ago
liaogang 8f80f5bc79 FIX: Release CPU/GPU memory via deleter
9 years ago
qijun 881c5d00d0 remove device_context deps in memcpy
9 years ago
qijun f168843e47 fix gpu build error
9 years ago
liaogang 051fe1724f remove duplicate cpplint
9 years ago
liaogang b58725bd51 Add cpplint for *.h and cuda *.cu
9 years ago
Helin Wang cffd1ae4c9 Fix build
9 years ago
qijun bd8d2d8ba3 fix bug in memory GetGPUBuddyAllocator
9 years ago
gangliao c54f14d89d Merge pull request #3095 from gangliao/comment_mem
9 years ago
liaogang 201e715787 ENH: Add comments for memory and memcpy
9 years ago
liaogang b4ff2e4394 Remove GPUPlaceGuard
9 years ago
gangliao 13ec0dd8df Merge pull request #3057 from gangliao/mem_vlog
9 years ago
liaogang de8c344bda ENH: for clarity, change DLOG to VLOG
9 years ago
liaogang 4e94cd757c FIX: restricting c++ template usage to POD types
9 years ago
Yi Wang de6f9c4879 Add dependency memory->device_context, because we now use platform::GPUPlaceGuard
9 years ago
Yi Wang f81caa4e11 Add dependency memory->device_context, because we now use platform::GPUPlaceGuard
9 years ago
Yi Wang 616a236581 Add target memcpy into paddle_memory
9 years ago
Yi Wang 51152adf0b Fix end of namespace
9 years ago
Yi Wang 858dea8834 Move memory::Copy out from memory.h into memcpy.h
9 years ago