• Pruthvi's avatar
    remove unique_ptr from allocator static allocation (#3269) · c0edf94d
    Pruthvi authored
    * remove unique_ptr from allocator static allocation
    
    * - for default allocator return address of the static object on stack instead of returning ptr to dynamically allocated object
    
    * Revert "- for default allocator return address of the static object on stack instead of returning ptr to dynamically allocated object"
    
    This reverts commit 126b269cb298e6eb8b99b1b9a90d5aa7cf8fb948.
    
    * use raw pointer in set_host_memory_allocator
    
    * fix build error
    c0edf94d
allocator.cpp 1.81 KB