linux服务器的docker容器内安装并使用CUDA版本的LightGBM来处理大规模数据
一、前言
记录一下如何编译CUDA版本的LightGBM,并在linux服务器上使用,中间遇到一些坑,简单说明一下。
官网的安装教程链接:安装指南 — LightGBM 4.6.0 文档 - LightGBM 框架
二、基础准备
简单交代一下,我使用的是Ubuntu系统,用的是官网的gcc方法来编译安装的。做安装的朋友,建议你把包括英伟达的cuda驱动装好,以免出现意外。另外,像git、vim、wget等这样的基础包,我就不演示安装了,请自行准备。
三、正式安装
1、下载获取github上的LightGBM库
git clone --recursive https://github.com/microsoft/LightGBM
建议使用该方法,而不是自己用电脑在网站上下载后解压,再将解压文件转到服务器上,因为这种下载方法会漏掉文件内容,请看下图:

相当明显,里面是有链接到其他github网页的内容,如果用download按钮去下载,这个文件夹下面就会是空白,后续编译会报错的。当然我会踩这个坑是因为我服务器上网络有点时好时坏:
(my_env) root@yonghu:~/workspace/LightGbm# git clone --recursive https://github.com/microsoft/LightGBM
Cloning into 'LightGBM'...
fatal: unable to access 'https://github.com/microsoft/LightGBM/': Failed to connect to github.com port 443 after 133033 ms: Connection timed out
另外的解决办法就是等服务器自己网络好或者在其他网络好的服务器上用这个命令下载,并传输到要用来做这个工作的服务器上去。
我这里是这样的下载过程:
(my_enva) root@yonghu:~/LightGBM# git clone --recursive https://github.com/microsoft/LightGBM
Cloning into 'LightGBM'...
remote: Enumerating objects: 35793, done.
remote: Counting objects: 100% (397/397), done.
remote: Compressing objects: 100% (293/293), done.
remote: Total 35793 (delta 259), reused 111 (delta 104), pack-reused 35396 (from 5)
Receiving objects: 100% (35793/35793), 24.48 MiB | 445.00 KiB/s, done.
Resolving deltas: 100% (26509/26509), done.
Submodule 'include/boost/compute' (https://github.com/boostorg/compute) registered for path 'external_libs/compute'
Submodule 'eigen' (https://gitlab.com/libeigen/eigen.git) registered for path 'external_libs/eigen'
Submodule 'external_libs/fast_double_parser' (https://github.com/lemire/fast_double_parser.git) registered for path 'external_libs/fast_double_parser'
Submodule 'external_libs/fmt' (https://github.com/fmtlib/fmt.git) registered for path 'external_libs/fmt'
Cloning into '/root/LightGBM/try_for_data/for_download/LightGBM/external_libs/compute'...
remote: Enumerating objects: 21818, done.
remote: Counting objects: 100% (40/40), done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 21818 (delta 21), reused 18 (delta 16), pack-reused 21778 (from 2)
Receiving objects: 100% (21818/21818), 8.54 MiB | 214.00 KiB/s, done.
Resolving deltas: 100% (17608/17608), done.
Cloning into '/root/LightGBM/try_for_data/for_download/LightGBM/external_libs/eigen'...
remote: Enumerating objects: 128850, done.
remote: Counting objects: 100% (466/466), done.
remote: Compressing objects: 100% (193/193), done.
remote: Total 128850 (delta 281), reused 440 (delta 271), pack-reused 128384 (from 1)
Receiving objects: 100% (128850/128850), 106.76 MiB | 77.00 KiB/s, done.
Resolving deltas: 100% (106899/106899), done.
Cloning into '/root/LightGBM/try_for_data/for_download/LightGBM/external_libs/fast_double_parser'...
fatal: unable to access 'https://github.com/lemire/fast_double_parser.git/': Recv failure: Connection reset by peer
fatal: clone of 'https://github.com/lemire/fast_double_parser.git' into submodule path '/root/LightGBM/try_for_data/for_download/LightGBM/external_libs/fast_double_parser' failed
Failed to clone 'external_libs/fast_double_parser'. Retry scheduled
Cloning into '/root/LightGBM/try_for_data/for_download/LightGBM/external_libs/fmt'...
remote: Enumerating objects: 40118, done.
remote: Counting objects: 100% (26/26), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 40118 (delta 13), reused 17 (delta 9), pack-reused 40092 (from 2)
Receiving objects: 100% (40118/40118), 16.59 MiB | 124.00 KiB/s, done.
Resolving deltas: 100% (27054/27054), done.
Cloning into '/root/LightGBM/try_for_data/for_download/LightGBM/external_libs/fast_double_parser'...
remote: Enumerating objects: 871, done.
remote: Counting objects: 100% (136/136), done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 871 (delta 122), reused 115 (delta 115), pack-reused 735 (from 2)
Receiving objects: 100% (871/871), 858.35 KiB | 84.00 KiB/s, done.
Resolving deltas: 100% (437/437), done.
Submodule path 'external_libs/compute': checked out '36350b7de849300bd3d72a05d8bf890ca405a014'
Submodule path 'external_libs/eigen': checked out '3147391d946bb4b6c68edd901f2add6ac1f31f8c'
Submodule path 'external_libs/fast_double_parser': checked out '252029ddac664370bdda3f0761675785d92a1573'
Submodule 'benchmark/dependencies/abseil-cpp' (https://github.com/abseil/abseil-cpp.git) registered for path 'external_libs/fast_double_parser/benchmarks/dependencies/abseil-cpp'
Submodule 'benchmark/dependencies/double-conversion' (https://github.com/google/double-conversion.git) registered for path 'external_libs/fast_double_parser/benchmarks/dependencies/double-conversion'
Cloning into '/root/LightGBM/try_for_data/for_download/LightGBM/external_libs/fast_double_parser/benchmarks/dependencies/abseil-cpp'...
fatal: unable to access 'https://github.com/abseil/abseil-cpp.git/': Recv failure: Connection reset by peer
fatal: clone of 'https://github.com/abseil/abseil-cpp.git' into submodule path '/root/LightGBM/try_for_data/for_download/LightGBM/external_libs/fast_double_parser/benchmarks/dependencies/abseil-cpp' failed
Failed to clone 'benchmarks/dependencies/abseil-cpp'. Retry scheduled
Cloning into '/root/LightGBM/try_for_data/for_download/LightGBM/external_libs/fast_double_parser/benchmarks/dependencies/double-conversion'...
remote: Enumerating objects: 1590, done.
remote: Counting objects: 100% (449/449), done.
remote: Compressing objects: 100% (115/115), done.
remote: Total 1590 (delta 388), reused 334 (delta 334), pack-reused 1141 (from 4)
Receiving objects: 100% (1590/1590), 7.13 MiB | 97.00 KiB/s, done.
Resolving deltas: 100% (1033/1033), done.
Cloning into '/root/LightGBM/try_for_data/for_download/LightGBM/external_libs/fast_double_parser/benchmarks/dependencies/abseil-cpp'...
remote: Enumerating objects: 32678, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 32678 (delta 0), reused 0 (delta 0), pack-reused 32674 (from 2)
Receiving objects: 100% (32678/32678), 18.35 MiB | 183.00 KiB/s, done.
Resolving deltas: 100% (25633/25633), done.
Submodule path 'external_libs/fast_double_parser/benchmarks/dependencies/abseil-cpp': checked out 'd936052d32a5b7ca08b0199a6724724aea432309'
Submodule path 'external_libs/fast_double_parser/benchmarks/dependencies/double-conversion': checked out 'f4cb2384efa55dee0e6652f8674b05763441ab09'
Submodule path 'external_libs/fast_double_parser/benchmarks/dependencies/abseil-cpp': checked out 'd936052d32a5b7ca08b0199a6724724aea432309'
Submodule path 'external_libs/fmt': checked out '8303d140a1a11f19b982a9f664bbe59a1ccda3f4'
Submodule path 'external_libs/fast_double_parser': checked out '252029ddac664370bdda3f0761675785d92a1573'
等下载完成后进入文件夹
cd LightGBM
2、进行编译
再运行下面的命令
cmake -B build -S . -DUSE_CUDA=ON
可能会出现下面的问题:
(my_env) root@950b3d5a9377:~/workspace/LightGbm/LightGBM# cmake -B build -S . -DUSE_CUDA=ON
CMake Error at CMakeLists.txt:27 (cmake_minimum_required):
CMake 3.28 or higher is required. You are running version 3.22.1
-- Configuring incomplete, errors occurred!
这个的问题是:
这个错误提示我的 CMake 版本(3.22.1)过低,而 LightGBM 项目要求 CMake 的版本至少为 3.28。
解决方法:
只需要升级CMake即可:
# 1. 下载预编译的 CMake 3.28 cd /tmp wget https://github.com/Kitware/CMake/releases/download/v3.28.3/cmake-3.28.3-linux-x86_64.sh # 2. 给执行权限 chmod +x cmake-3.28.3-linux-x86_64.sh # 3. 安装到 /usr/local(会覆盖旧版本) ./cmake-3.28.3-linux-x86_64.sh --skip-license --prefix=/usr/local # 4. 验证版本 cmake --version
也可能会出现下面这个问题:
root@yonghu:~/LightGBM# cmake -B build -S . -DUSE_CUDA=ON
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:37 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
这个的问题是:
这个错误是因为系统中缺少C++编译器。从错误信息可以看到:
- C编译器已找到(GNU 13.3.0)
- C++编译器未找到("The CXX compiler identification is unknown")
解决方法:
安装C++编译器
首先检查是否安装了g++:
g++ --version如果没有安装,根据你的Linux发行版安装:
apt-get update apt-get install g++ build-essential
解决上面的问题以后,正常的运行结果应该是下面这样的:
(my_env) root@yonghu:~/workspace/LightGbm/LightGBM# cmake -B build -S . -DUSE_CUDA=ON
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The CUDA compiler identification is NVIDIA 11.5.119
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /usr/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Found CUDAToolkit: /usr/include (found suitable version "11.5.119", minimum required is "11.0")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- CUDA_ARCHITECTURES: 60-real;61-real;62-real;70-real;75-real;80-real;86-real;87-real;87-virtual
-- CMAKE_CUDA_FLAGS: -Xcompiler=-fopenmp -Xcompiler=-fPIC -Xcompiler=-Wall -O3 -lineinfo
-- Performing Test MM_PREFETCH
-- Performing Test MM_PREFETCH - Success
-- Using _mm_prefetch
-- Performing Test MM_MALLOC
-- Performing Test MM_MALLOC - Success
-- Using _mm_malloc
-- Configuring done (5.6s)
-- Generating done (0.0s)
-- Build files have been written to: /root/workspace/LightGbm/LightGBM/build
然后进行进一步的编译:
cmake --build build -j4
这一步的运行会比较漫长,且可能会出现很多WARNING,但是只要不出现ERROR,就不是什么大问题。比如出现下面的情况:
(my_env) root@yonghu:~/workspace/LightGbm/LightGBM# cmake --build build -j4
[ 1%] Building CXX object CMakeFiles/lightgbm_capi_objs.dir/src/c_api.cpp.o
[ 2%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/boosting/boosting.cpp.o
[ 4%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/boosting/gbdt_model_text.cpp.o
[ 5%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/boosting/gbdt_prediction.cpp.o
[ 6%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/boosting/gbdt.cpp.o
[ 8%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/boosting/prediction_early_stop.cpp.o
[ 9%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/boosting/sample_strategy.cpp.o
[ 10%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/bin.cpp.o
[ 12%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/config_auto.cpp.o
[ 13%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/config.cpp.o
[ 13%] Built target lightgbm_capi_objs
[ 14%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/dataset_loader.cpp.o
[ 16%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/dataset.cpp.o
[ 17%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/file_io.cpp.o
[ 18%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/json11.cpp.o
[ 20%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/metadata.cpp.o
[ 21%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/parser.cpp.o
[ 22%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/train_share_states.cpp.o
[ 24%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/tree.cpp.o
[ 25%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/metric/dcg_calculator.cpp.o
[ 27%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/metric/metric.cpp.o
[ 28%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/network/linker_topo.cpp.o
[ 29%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/network/linkers_mpi.cpp.o
[ 31%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/network/linkers_socket.cpp.o
[ 32%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/network/network.cpp.o
[ 33%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/objective/objective_function.cpp.o
[ 35%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/data_parallel_tree_learner.cpp.o
[ 36%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/feature_histogram.cpp.o
[ 37%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/feature_parallel_tree_learner.cpp.o
[ 39%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/gpu_tree_learner.cpp.o
[ 40%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/gradient_discretizer.cpp.o
[ 41%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/linear_tree_learner.cpp.o
[ 43%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/serial_tree_learner.cpp.o
[ 44%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/tree_learner.cpp.o
[ 45%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/voting_parallel_tree_learner.cpp.o
[ 47%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/utils/openmp_wrapper.cpp.o
[ 48%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/boosting/cuda/cuda_score_updater.cpp.o
[ 50%] Building CUDA object CMakeFiles/lightgbm_objs.dir/src/boosting/cuda/cuda_score_updater.cu.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
for (; n != 0; ++s1, ++s2, --n) {
^
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]" at line 591
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]" at line 598
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]" at line 2612
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]" at line 2655
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
constexpr bigint() : exp_(0) {}
^
[ 51%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/metric/cuda/cuda_binary_metric.cpp.o
[ 52%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/metric/cuda/cuda_pointwise_metric.cpp.o
[ 54%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/metric/cuda/cuda_regression_metric.cpp.o
[ 55%] Building CUDA object CMakeFiles/lightgbm_objs.dir/src/metric/cuda/cuda_pointwise_metric.cu.o
[ 56%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/objective/cuda/cuda_binary_objective.cpp.o
[ 58%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/objective/cuda/cuda_multiclass_objective.cpp.o
[ 59%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/objective/cuda/cuda_rank_objective.cpp.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
[ 60%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/objective/cuda/cuda_regression_objective.cpp.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
[ 62%] Building CUDA object CMakeFiles/lightgbm_objs.dir/src/objective/cuda/cuda_binary_objective.cu.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
[ 63%] Building CUDA object CMakeFiles/lightgbm_objs.dir/src/objective/cuda/cuda_multiclass_objective.cu.o
[ 64%] Building CUDA object CMakeFiles/lightgbm_objs.dir/src/objective/cuda/cuda_rank_objective.cu.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(24): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassSoftmax"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(186): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassOVA"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/cuda_multiclass_objective.hpp(44): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::CUDAMulticlassOVA"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(24): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassSoftmax"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(186): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassOVA"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/cuda_multiclass_objective.hpp(44): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::CUDAMulticlassOVA"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(24): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassSoftmax"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(186): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassOVA"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/src/objective/cuda/cuda_multiclass_objective.hpp(44): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::CUDAMulticlassOVA"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(24): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassSoftmax"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(186): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassOVA"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/cuda_multiclass_objective.hpp(44): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::CUDAMulticlassOVA"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(24): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassSoftmax"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(186): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassOVA"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/cuda_multiclass_objective.hpp(44): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::CUDAMulticlassOVA"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(24): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassSoftmax"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(186): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassOVA"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/cuda_multiclass_objective.hpp(44): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::CUDAMulticlassOVA"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
for (; n != 0; ++s1, ++s2, --n) {
^
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]" at line 591
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]" at line 598
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]" at line 2612
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]" at line 2655
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
constexpr bigint() : exp_(0) {}
^
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
for (; n != 0; ++s1, ++s2, --n) {
^
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]" at line 591
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]" at line 598
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]" at line 2612
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]" at line 2655
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
constexpr bigint() : exp_(0) {}
^
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(24): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassSoftmax"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(186): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassOVA"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/cuda_multiclass_objective.hpp(44): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::CUDAMulticlassOVA"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
class BinaryLogloss: public ObjectiveFunction {
^
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
[ 66%] Building CUDA object CMakeFiles/lightgbm_objs.dir/src/objective/cuda/cuda_regression_objective.cu.o
[ 67%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/cuda/cuda_best_split_finder.cpp.o
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(24): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassSoftmax"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(186): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassOVA"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/cuda_multiclass_objective.hpp(44): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::CUDAMulticlassOVA"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
[ 68%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/cuda/cuda_data_partition.cpp.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
for (; n != 0; ++s1, ++s2, --n) {
^
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]" at line 591
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]" at line 598
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]" at line 2612
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]" at line 2655
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
constexpr bigint() : exp_(0) {}
^
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(93): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL2loss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(207): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL1loss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(293): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionHuberLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(351): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionFairLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(398): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionPoissonLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(481): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionQuantileloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(579): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionMAPELOSS"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(680): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionGammaLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(717): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionTweedieLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../binary_objective.hpp(21): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::BinaryLogloss"
class BinaryLogloss: public ObjectiveFunction {
^
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(24): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassSoftmax"
class MulticlassSoftmax: public ObjectiveFunction {
^
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../multiclass_objective.hpp(186): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::MulticlassOVA"
class MulticlassOVA: public ObjectiveFunction {
^
/root/workspace/LightGbm/LightGBM/src/objective/cuda/cuda_multiclass_objective.hpp(44): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::CUDAMulticlassOVA"
class CUDAMulticlassOVA: public CUDAObjectiveInterface<MulticlassOVA> {
^
[ 70%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/cuda/cuda_histogram_constructor.cpp.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
[ 71%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/cuda/cuda_leaf_splits.cpp.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(93): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL2loss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(207): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL1loss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(293): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionHuberLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(351): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionFairLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(398): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionPoissonLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(481): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionQuantileloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(579): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionMAPELOSS"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(680): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionGammaLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(717): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionTweedieLoss"
[ 72%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/cuda/cuda_single_gpu_tree_learner.cpp.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
[ 74%] Building CUDA object CMakeFiles/lightgbm_objs.dir/src/treelearner/cuda/cuda_best_split_finder.cu.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(93): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL2loss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(207): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL1loss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(293): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionHuberLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(351): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionFairLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(398): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionPoissonLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(481): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionQuantileloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(579): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionMAPELOSS"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(680): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionGammaLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(717): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionTweedieLoss"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
[ 75%] Building CUDA object CMakeFiles/lightgbm_objs.dir/src/treelearner/cuda/cuda_data_partition.cu.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(93): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL2loss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(207): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL1loss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(293): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionHuberLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(351): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionFairLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(398): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionPoissonLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(481): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionQuantileloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(579): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionMAPELOSS"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(680): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionGammaLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(717): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionTweedieLoss"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(93): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL2loss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(207): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL1loss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(293): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionHuberLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(351): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionFairLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(398): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionPoissonLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(481): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionQuantileloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(579): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionMAPELOSS"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(680): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionGammaLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(717): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionTweedieLoss"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(93): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL2loss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(207): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL1loss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(293): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionHuberLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(351): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionFairLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(398): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionPoissonLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(481): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionQuantileloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(579): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionMAPELOSS"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(680): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionGammaLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(717): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionTweedieLoss"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(93): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL2loss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(207): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL1loss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(293): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionHuberLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(351): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionFairLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(398): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionPoissonLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(481): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionQuantileloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(579): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionMAPELOSS"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(680): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionGammaLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(717): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionTweedieLoss"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
for (; n != 0; ++s1, ++s2, --n) {
^
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]" at line 591
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]" at line 598
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]" at line 2612
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]" at line 2655
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
constexpr bigint() : exp_(0) {}
^
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(93): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL2loss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(207): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL1loss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(293): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionHuberLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(351): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionFairLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(398): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionPoissonLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(481): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionQuantileloss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(579): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionMAPELOSS"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(680): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionGammaLoss"
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(717): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionTweedieLoss"
[ 77%] Building CUDA object CMakeFiles/lightgbm_objs.dir/src/treelearner/cuda/cuda_gradient_discretizer.cu.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
for (; n != 0; ++s1, ++s2, --n) {
^
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]" at line 591
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]" at line 598
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]" at line 2612
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]" at line 2655
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
constexpr bigint() : exp_(0) {}
^
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(93): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL2loss"
class RegressionL2loss: public ObjectiveFunction {
^
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(207): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionL1loss"
class RegressionL1loss: public RegressionL2loss {
^
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(293): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionHuberLoss"
class RegressionHuberLoss: public RegressionL2loss {
^
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(351): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionFairLoss"
class RegressionFairLoss: public RegressionL2loss {
^
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(398): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionPoissonLoss"
class RegressionPoissonLoss: public RegressionL2loss {
^
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(481): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionQuantileloss"
class RegressionQuantileloss : public RegressionL2loss {
^
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(579): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionMAPELOSS"
class RegressionMAPELOSS : public RegressionL1loss {
^
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(680): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionGammaLoss"
class RegressionGammaLoss : public RegressionPoissonLoss {
^
/root/workspace/LightGbm/LightGBM/src/objective/cuda/../regression_objective.hpp(717): warning #611-D: overloaded virtual function "LightGBM::ObjectiveFunction::GetGradients" is only partially overridden in class "LightGBM::RegressionTweedieLoss"
class RegressionTweedieLoss: public RegressionPoissonLoss {
^
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
[ 78%] Building CUDA object CMakeFiles/lightgbm_objs.dir/src/treelearner/cuda/cuda_histogram_constructor.cu.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
for (; n != 0; ++s1, ++s2, --n) {
^
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]" at line 591
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]" at line 598
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]" at line 2612
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]" at line 2655
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
constexpr bigint() : exp_(0) {}
^
[ 79%] Building CUDA object CMakeFiles/lightgbm_objs.dir/src/treelearner/cuda/cuda_leaf_splits.cu.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
for (; n != 0; ++s1, ++s2, --n) {
^
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]" at line 591
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]" at line 598
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]" at line 2612
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]" at line 2655
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
constexpr bigint() : exp_(0) {}
^
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
[ 81%] Building CUDA object CMakeFiles/lightgbm_objs.dir/src/treelearner/cuda/cuda_single_gpu_tree_learner.cu.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
for (; n != 0; ++s1, ++s2, --n) {
^
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]" at line 591
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]" at line 598
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]" at line 2612
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]" at line 2655
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
constexpr bigint() : exp_(0) {}
^
[ 82%] Building CUDA object CMakeFiles/lightgbm_objs.dir/src/io/cuda/cuda_column_data.cu.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
for (; n != 0; ++s1, ++s2, --n) {
^
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]" at line 591
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]" at line 598
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]" at line 2612
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]" at line 2655
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
constexpr bigint() : exp_(0) {}
^
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
for (; n != 0; ++s1, ++s2, --n) {
^
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]" at line 591
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]" at line 598
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]" at line 2612
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]" at line 2655
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
constexpr bigint() : exp_(0) {}
^
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
[ 83%] Building CUDA object CMakeFiles/lightgbm_objs.dir/src/io/cuda/cuda_tree.cu.o
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
[ 85%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/cuda/cuda_column_data.cpp.o
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
[ 86%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/cuda/cuda_metadata.cpp.o
[ 87%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/cuda/cuda_row_data.cpp.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
[ 89%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/cuda/cuda_tree.cpp.o
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
[ 90%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/cuda/cuda_utils.cpp.o
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
[ 91%] Building CUDA object CMakeFiles/lightgbm_objs.dir/src/cuda/cuda_algorithms.cu.o
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
for (; n != 0; ++s1, ++s2, --n) {
^
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]" at line 591
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]" at line 598
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]" at line 2612
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]" at line 2655
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
constexpr bigint() : exp_(0) {}
^
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
for (; n != 0; ++s1, ++s2, --n) {
^
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]" at line 591
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]" at line 598
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]" at line 2612
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]" at line 2655
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
constexpr bigint() : exp_(0) {}
^
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
for (; n != 0; ++s1, ++s2, --n) {
^
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]" at line 591
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]" at line 598
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]" at line 2612
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]" at line 2655
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
constexpr bigint() : exp_(0) {}
^
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]"
(591): here
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]"
(598): here
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]"
(2612): here
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]"
(2655): here
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(53): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/include/LightGBM/cuda/cuda_split_info.hpp(56): warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/base.h(472): warning #128-D: loop is not reachable
for (; n != 0; ++s1, ++s2, --n) {
^
detected during:
instantiation of "auto fmt::v11::detail::compare(const Char *, const Char *, std::size_t)->int [with Char=char]" at line 591
instantiation of "auto fmt::v11::basic_string_view<Char>::compare(fmt::v11::basic_string_view<Char>) const->int [with Char=char]" at line 598
instantiation of class "fmt::v11::basic_string_view<Char> [with Char=char]" at line 2612
instantiation of "auto fmt::v11::basic_format_args<Context>::get_id(fmt::v11::basic_string_view<Char>) const->int [with Context=fmt::v11::context, Char=char]" at line 2655
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/root/workspace/LightGbm/LightGBM/external_libs/fmt/include/fmt/format.h(2594): warning #2417-D: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"
constexpr bigint() : exp_(0) {}
^
[ 91%] Built target lightgbm_objs
[ 93%] Building CXX object CMakeFiles/lightgbm.dir/src/main.cpp.o
[ 95%] Linking CUDA device code CMakeFiles/_lightgbm.dir/cmake_device_link.o
[ 95%] Building CXX object CMakeFiles/lightgbm.dir/src/application/application.cpp.o
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/librt.a' when searching for -lrt (target: sm_60)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libpthread.a' when searching for -lpthread (target: sm_60)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libdl.a' when searching for -ldl (target: sm_60)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/librt.a' when searching for -lrt (target: sm_61)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libpthread.a' when searching for -lpthread (target: sm_61)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libdl.a' when searching for -ldl (target: sm_61)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/librt.a' when searching for -lrt (target: sm_62)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libpthread.a' when searching for -lpthread (target: sm_62)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libdl.a' when searching for -ldl (target: sm_62)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/librt.a' when searching for -lrt (target: sm_70)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libpthread.a' when searching for -lpthread (target: sm_70)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libdl.a' when searching for -ldl (target: sm_70)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/librt.a' when searching for -lrt (target: sm_75)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libpthread.a' when searching for -lpthread (target: sm_75)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libdl.a' when searching for -ldl (target: sm_75)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/librt.a' when searching for -lrt (target: sm_80)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libpthread.a' when searching for -lpthread (target: sm_80)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libdl.a' when searching for -ldl (target: sm_80)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/librt.a' when searching for -lrt (target: sm_86)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libpthread.a' when searching for -lpthread (target: sm_86)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libdl.a' when searching for -ldl (target: sm_86)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/librt.a' when searching for -lrt (target: sm_87)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libpthread.a' when searching for -lpthread (target: sm_87)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libdl.a' when searching for -ldl (target: sm_87)
[ 97%] Linking CUDA device code CMakeFiles/lightgbm.dir/cmake_device_link.o
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/librt.a' when searching for -lrt (target: sm_60)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libpthread.a' when searching for -lpthread (target: sm_60)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libdl.a' when searching for -ldl (target: sm_60)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/librt.a' when searching for -lrt (target: sm_61)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libpthread.a' when searching for -lpthread (target: sm_61)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libdl.a' when searching for -ldl (target: sm_61)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/librt.a' when searching for -lrt (target: sm_62)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libpthread.a' when searching for -lpthread (target: sm_62)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libdl.a' when searching for -ldl (target: sm_62)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/librt.a' when searching for -lrt (target: sm_70)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libpthread.a' when searching for -lpthread (target: sm_70)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libdl.a' when searching for -ldl (target: sm_70)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/librt.a' when searching for -lrt (target: sm_75)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libpthread.a' when searching for -lpthread (target: sm_75)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libdl.a' when searching for -ldl (target: sm_75)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/librt.a' when searching for -lrt (target: sm_80)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libpthread.a' when searching for -lpthread (target: sm_80)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libdl.a' when searching for -ldl (target: sm_80)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/librt.a' when searching for -lrt (target: sm_86)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libpthread.a' when searching for -lpthread (target: sm_86)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libdl.a' when searching for -ldl (target: sm_86)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/librt.a' when searching for -lrt (target: sm_87)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libpthread.a' when searching for -lpthread (target: sm_87)
nvlink warning : Skipping incompatible '/usr/lib/x86_64-linux-gnu/libdl.a' when searching for -ldl (target: sm_87)
[ 98%] Linking CXX shared library /root/workspace/LightGbm/LightGBM/lib_lightgbm.so
[ 98%] Built target _lightgbm
[100%] Linking CXX executable /root/workspace/LightGbm/LightGBM/lightgbm
[100%] Built target lightgbm
3、安装python接口
为了方便编程使用,我是使用python来运行的,下面是我安装对应python包的流程:
1、建议使用anaconda的虚拟环境,比如我是my_env,至于怎么创建虚拟环境,就不详述了,属于基础知识。
2、激活环境后在环境内使用这条命令:
sh ./build-python.sh install --precompile3、通过conda list命令查看是否安装上lightgbm包
4、通过下面的代码可以测试是否成功安装CUDA版本的LightGBM
import lightgbm as lgb # 检查CUDA支持 try: params = { 'objective': 'binary', 'device': 'cuda', 'verbose': -1 } # 创建一个简单数据集进行测试 import numpy as np X = np.random.rand(100, 10) y = np.random.randint(0, 2, 100) model = lgb.train(params, lgb.Dataset(X, label=y), num_boost_round=5) print("✓ CUDA 支持已启用!") except Exception as e: print(f"✗ CUDA 支持检查失败: {e}")
四、使用CUDA版本
下面给一个样例代码,注意,该代码用的数据是随便捏的,没有任何意义!只是为了测试流程性:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
LightGBM CUDA版本测试脚本
测试数据:128维二进制特征,11类分类任务
"""
import numpy as np
import pandas as pd
import time
import lightgbm as lgb
from sklearn.model_selection import train_test_split
from sklearn.metrics import accuracy_score, classification_report
import warnings
warnings.filterwarnings('ignore')
def create_mock_data(n_samples=10000, n_features=128, n_classes=11, random_seed=42):
"""
创建模拟数据
参数:
- n_samples: 样本数量
- n_features: 特征维度(128)
- n_classes: 类别数(0-10共11类)
- random_seed: 随机种子
返回:
- X: 二进制特征矩阵 (n_samples, n_features)
- y: 标签 (n_samples,)
"""
np.random.seed(random_seed)
# 生成128维的二进制特征(只有0和1)
X = np.random.randint(0, 2, size=(n_samples, n_features))
# 生成0-10的标签
y = np.random.randint(0, n_classes, size=n_samples)
# 创建DataFrame以便查看
feature_names = [f'feature_{i}' for i in range(n_features)]
df_X = pd.DataFrame(X, columns=feature_names)
print(f"数据生成完成:")
print(f" - 样本数: {n_samples}")
print(f" - 特征数: {n_features}")
print(f" - 类别数: {n_classes}")
print(f" - X shape: {X.shape}")
print(f" - y shape: {y.shape}")
print(f" - X 数据类型: {X.dtype}")
print(f" - y 分布: {np.bincount(y)}")
print(f" - X 示例(前5行,前10列):\n{df_X.iloc[:5, :10]}")
return X, y, feature_names
def test_lgb_gpu(X, y, feature_names):
"""
测试LightGBM GPU版本
"""
print("\n" + "="*60)
print("开始测试 LightGBM CUDA 版本")
print("="*60)
# 划分训练集和测试集
X_train, X_test, y_train, y_test = train_test_split(
X, y, test_size=0.2, random_state=42, stratify=y
)
print(f"\n数据集划分:")
print(f" - 训练集: {X_train.shape}")
print(f" - 测试集: {X_test.shape}")
# 创建LightGBM数据集
train_data = lgb.Dataset(X_train, label=y_train, feature_name=feature_names)
valid_data = lgb.Dataset(X_test, label=y_test, reference=train_data, feature_name=feature_names)
# GPU参数配置
params_gpu = {
'objective': 'multiclass', # 多分类,也可以改成二分类、回归等模式,不过这个改了,下面的参数也一般需要做一些调整,请按照自己的情况来设计和运行代码
'num_class': 11, # 11个类别(0-10)
'metric': 'multi_logloss',
'boosting_type': 'gbdt',
'device': 'cuda', # 使用GPU
'gpu_platform_id': 0,
'gpu_device_id': 0,
'num_leaves': 31,
'learning_rate': 0.05,
'feature_fraction': 0.9,
'bagging_fraction': 0.8,
'bagging_freq': 5,
'verbose': 1,
'num_threads': 4,
'seed': 42
}
print(f"\nGPU训练参数:")
for key, value in params_gpu.items():
print(f" - {key}: {value}")
# 训练模型(GPU)
print("\n开始GPU训练...")
start_time = time.time()
model_gpu = lgb.train(
params_gpu,
train_data,
valid_sets=[valid_data],
num_boost_round=100,
callbacks=[
lgb.early_stopping(10),
lgb.log_evaluation(20)
]
)
gpu_time = time.time() - start_time
print(f"\nGPU训练完成! 用时: {gpu_time:.2f} 秒")
# 预测
y_pred_gpu = model_gpu.predict(X_test, num_iteration=model_gpu.best_iteration)
y_pred_class_gpu = np.argmax(y_pred_gpu, axis=1)
# 计算准确率
accuracy_gpu = accuracy_score(y_test, y_pred_class_gpu)
print(f"\nGPU模型准确率: {accuracy_gpu:.4f}")
# 打印分类报告(简化版)
print("\n分类报告(前3个类别):")
report = classification_report(y_test, y_pred_class_gpu,
labels=list(range(3)),
target_names=[f'Class_{i}' for i in range(3)])
print(report)
return model_gpu, gpu_time, accuracy_gpu
def test_lgb_cpu(X, y, feature_names):
"""
测试LightGBM CPU版本(用于对比)
"""
print("\n" + "="*60)
print("开始测试 LightGBM CPU 版本(对比)")
print("="*60)
# 划分训练集和测试集
X_train, X_test, y_train, y_test = train_test_split(
X, y, test_size=0.2, random_state=42, stratify=y
)
# 创建LightGBM数据集
train_data = lgb.Dataset(X_train, label=y_train, feature_name=feature_names)
valid_data = lgb.Dataset(X_test, label=y_test, reference=train_data, feature_name=feature_names)
# CPU参数配置
params_cpu = {
'objective': 'multiclass',
'num_class': 11,
'metric': 'multi_logloss',
'boosting_type': 'gbdt',
'device': 'cpu', # 使用CPU
'num_leaves': 31,
'learning_rate': 0.05,
'feature_fraction': 0.9,
'bagging_fraction': 0.8,
'bagging_freq': 5,
'verbose': 0,
'num_threads': 4,
'seed': 42
}
# 训练模型(CPU)
print("\n开始CPU训练...")
start_time = time.time()
model_cpu = lgb.train(
params_cpu,
train_data,
valid_sets=[valid_data],
num_boost_round=100,
callbacks=[lgb.early_stopping(10)]
)
cpu_time = time.time() - start_time
print(f"CPU训练完成! 用时: {cpu_time:.2f} 秒")
# 预测
y_pred_cpu = model_cpu.predict(X_test, num_iteration=model_cpu.best_iteration)
y_pred_class_cpu = np.argmax(y_pred_cpu, axis=1)
# 计算准确率
accuracy_cpu = accuracy_score(y_test, y_pred_class_cpu)
print(f"CPU模型准确率: {accuracy_cpu:.4f}")
return model_cpu, cpu_time, accuracy_cpu
def check_gpu_availability():
"""
检查GPU是否可用
"""
print("\n检查GPU可用性...")
try:
import subprocess
result = subprocess.run(['nvidia-smi'], capture_output=True, text=True)
if result.returncode == 0:
print("✓ NVIDIA GPU 检测成功")
# 显示简要GPU信息
lines = result.stdout.split('\n')
for line in lines:
if 'NVIDIA' in line or '%' in line:
print(f" {line.strip()}")
else:
print("✗ 未检测到NVIDIA GPU")
return False
except:
print("✗ nvidia-smi 命令不可用")
return False
# 检查CUDA
try:
result = subprocess.run(['nvcc', '--version'], capture_output=True, text=True)
if result.returncode == 0:
print("✓ CUDA 检测成功")
# 显示CUDA版本
lines = result.stdout.split('\n')
for line in lines:
if 'release' in line.lower():
print(f" {line.strip()}")
except:
print("✗ CUDA 未安装或不可用")
return True
def save_model(model, filename):
"""
保存模型
"""
model.save_model(filename)
print(f"\n模型已保存到: {filename}")
def main():
"""
主函数
"""
print("="*60)
print("LightGBM CUDA 版本测试程序")
print("="*60)
# 1. 检查环境
#print(f"\nLightGBM 版本: {lgb.__version__}")
gpu_available = check_gpu_availability()
# 2. 生成模拟数据
print("\n" + "="*60)
print("生成模拟数据")
print("="*60)
# 可以调整样本数量来测试不同规模
n_samples = 50000 # 5万样本用于测试
X, y, feature_names = create_mock_data(
n_samples=n_samples,
n_features=128,
n_classes=11,
random_seed=42
)
# 3. 测试GPU版本
if gpu_available:
try:
model_gpu, gpu_time, acc_gpu = test_lgb_gpu(X, y, feature_names)
save_model(model_gpu, 'model_gpu.txt')
except Exception as e:
print(f"\nGPU训练失败: {e}")
gpu_time, acc_gpu = None, None
else:
print("\nGPU不可用,跳过GPU测试")
gpu_time, acc_gpu = None, None
# 4. 测试CPU版本(对比)
model_cpu, cpu_time, acc_cpu = test_lgb_cpu(X, y, feature_names)
save_model(model_cpu, 'model_cpu.txt')
# 5. 性能对比总结
print("\n" + "="*60)
print("性能对比总结")
print("="*60)
if gpu_time is not None:
print(f"GPU训练时间: {gpu_time:.2f} 秒")
print(f"GPU准确率: {acc_gpu:.4f}")
print(f"CPU训练时间: {cpu_time:.2f} 秒")
print(f"CPU准确率: {acc_cpu:.4f}")
if gpu_time is not None:
speedup = cpu_time / gpu_time
print(f"\nGPU加速比: {speedup:.2f}x")
print("\n测试完成!")
if __name__ == "__main__":
main()
这个代码会简单对比一下CPU和GPU的速度,在小数据集上CPU会更快一些,只有到了大数据集上才会显现出CUDA的优势。
更多推荐



所有评论(0)