c3sr / comm_scope

NUMA-aware multi-CPU multi-GPU data transfer benchmarks
https://github.com/c3sr/scope
Apache License 2.0
21 stars 3 forks source link

nvcc 7.5 has incompatibility with spdlog 0.16.3-p1 #17

Open cwpearson opened 5 years ago

cwpearson commented 5 years ago

Here in travis:

https://travis-ci.com/c3sr/comm_scope/jobs/166306330

[ 78%] Building CUDA object scopes/comm_scope/CMakeFiles/comm_scope.dir/src/zerocopy/host_to_gpu.cu.o
/root/.hunter/_Base/51d2d6b/8b8a474/d68db6d/Install/include/spdlog/spdlog.h:69:317: error: converting to 'const milliseconds {aka const std::chrono::duration<long int, std::ratio<1l, 1000l> >}' from initializer list would use explicit constructor 'constexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&) [with _Rep2 = long int; <template-parameter-2-2> = void; _Rep = long int; _Period = std::ratio<1l, 1000l>]'
 void set_async_mode(size_t queue_size, const async_overflow_policy overflow_policy = async_overflow_policy::block_retry, const std::function<void()>& worker_warmup_cb = nullptr, const std::chrono::milliseconds& flush_interval_ms = std::chrono::milliseconds::zero(), const std::function<void()>& worker_teardown_cb = nullptr);
                                                                                                                                                                                                                                                                                                                             ^
/root/.hunter/_Base/51d2d6b/8b8a474/d68db6d/Install/include/spdlog/spdlog.h:137:391: error: converting to 'const milliseconds {aka const std::chrono::duration<long int, std::ratio<1l, 1000l> >}' from initializer list would use explicit constructor 'constexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&) [with _Rep2 = long int; <template-parameter-2-2> = void; _Rep = long int; _Period = std::ratio<1l, 1000l>]'
 std::shared_ptr<logger> create_async(const std::string& logger_name, const sink_ptr& sink, size_t queue_size, const async_overflow_policy overflow_policy = async_overflow_policy::block_retry, const std::function<void()>& worker_warmup_cb = nullptr, const std::chrono::milliseconds& flush_interval_ms = std::chrono::milliseconds::zero(), const std::function<void()>& worker_teardown_cb = nullptr);
                                                                                                                                                                                                                                                                                                                                                                                                       ^
/root/.hunter/_Base/51d2d6b/8b8a474/d68db6d/Install/include/spdlog/spdlog.h:140:391: error: converting to 'const milliseconds {aka const std::chrono::duration<long int, std::ratio<1l, 1000l> >}' from initializer list would use explicit constructor 'constexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&) [with _Rep2 = long int; <template-parameter-2-2> = void; _Rep = long int; _Period = std::ratio<1l, 1000l>]'
 std::shared_ptr<logger> create_async(const std::string& logger_name, sinks_init_list sinks, size_t queue_size, const async_overflow_policy overflow_policy = async_overflow_policy::block_retry, const std::function<void()>& worker_warmup_cb = nullptr, const std::chrono::milliseconds& flush_interval_ms = std::chrono::milliseconds::zero(), const std::function<void()>& worker_teardown_cb = nullptr);
                                                                                                                                                                                                                                                                                                                                                                                                       ^
/root/.hunter/_Base/51d2d6b/8b8a474/d68db6d/Install/include/spdlog/async_logger.h:47:299: error: converting to 'const milliseconds {aka const std::chrono::duration<long int, std::ratio<1l, 1000l> >}' from initializer list would use explicit constructor 'constexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&) [with _Rep2 = long int; <template-parameter-2-2> = void; _Rep = long int; _Period = std::ratio<1l, 1000l>]'
     async_logger(const std::string& logger_name,
                                                                                                                                                                                                                                                                                                           ^
/root/.hunter/_Base/51d2d6b/8b8a474/d68db6d/Install/include/spdlog/async_logger.h:55:298: error: converting to 'const milliseconds {aka const std::chrono::duration<long int, std::ratio<1l, 1000l> >}' from initializer list would use explicit constructor 'constexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&) [with _Rep2 = long int; <template-parameter-2-2> = void; _Rep = long int; _Period = std::ratio<1l, 1000l>]'
     async_logger(const std::string& logger_name,
                                                                                                                                                                                                                                                                                                          ^
/root/.hunter/_Base/51d2d6b/8b8a474/d68db6d/Install/include/spdlog/details/async_log_helper.h:128:375: error: converting to 'const milliseconds {aka const std::chrono::duration<long int, std::ratio<1l, 1000l> >}' from initializer list would use explicit constructor 'constexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&) [with _Rep2 = long int; <template-parameter-2-2> = void; _Rep = long int; _Period = std::ratio<1l, 1000l>]'
     async_log_helper(formatter_ptr formatter,
                                                                                                                                                                                                                                                                                                                                                                                       ^
make[2]: *** [scopes/comm_scope/CMakeFiles/comm_scope.dir/src/zerocopy/host_to_gpu.cu.o] Error 1
make[1]: *** [scopes/comm_scope/CMakeFiles/comm_scope.dir/all] Error 2
make: *** [all] Error 2