Commit Graph

11 Commits (e1b8c27acbba44a52b10b8593e95eb1279f60bf2)

Author SHA1 Message Date
dangqingqing a328ae3b9b Use posix_memalign to allocate aligned memory, since some SIMD instructions require the alignment of memory accesses.
8 years ago
Luo Tao 871a3f6e76 remove unused PADDLE_ONLY_CPU comment
8 years ago
Yi Wang 4558807c48 Use PADDLE_WITH_CUDA instead of PADDLE_WITH_GPU
8 years ago
Yu Yang 84500f9487 Change `PADDLE_ONLY_CPU` to `PADDLE_WITH_GPU`
8 years ago
liaogang 2f7489fbd5 change use_pinned_memory to true for cpu
8 years ago
liaogang f812de2cce ENH: unify PADDLE_ENFORCE
8 years ago
liaogang 199b5fcb45 ENH: refine code comments
8 years ago
liaogang 89110fd266 ENH: Add useGpu in system allocator
8 years ago
liaogang 26cd0bb5a5 ENH: count allocated fallback size for performance
8 years ago
liaogang 169022d014 FIX: Improve fallback gpu allocator
8 years ago
Yi Wang 3e087f763e Add buddy_allocator.cc and system_allocator.cc
8 years ago