• Yangqing Jia's avatar
    folly: changes to make nvcc happy · 5a40209a
    Yangqing Jia authored
    Summary:
    (1) small_vector.h line 1099: wrap the default return in an else statement to
    avoid compiler warning of "unreachable statement".
    (2) Constexpr.h: need to treat cudacc similarly to msvc.
    
    (Note: this ignores all push blocking failures!)
    
    Reviewed By: dzhulgakov
    
    Differential Revision: D5387061
    
    fbshipit-source-id: f002ab5ec00d4dcd85d86386f87a0327023afa1b
    5a40209a
small_vector.h 32.8 KB