• [cherry-pick] Thread-local Allocator, test=release/2.0 (#24061) · 597cc058
    石晓伟 提交于
    * cherry-pick of DeviceContext Split, test=develop (#23737)
    
    * New feature: thread local allocator, test=develop (#23989)
    
    * add the thread_local_allocator, test=develop
    
    * refactor the thread_local_allocator, test=develop
    
    * provides option setting strategy, test=develop
    
    * add boost dependency to cuda_stream, test=develop
    
    * declare the stream::Priority as enum class, test=develop
    
    * deal with PADDLE_ENFORCE_CUDA_SUCCESS macro in pr #23816
    597cc058
allocator_strategy.cc 1.5 KB