Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLI, GPU, Win x64] LightGBM GPU doesn't work for 100K+ features --> Met Exceptions: Invalid Kernel Arguments #6220

Open
wil70 opened this issue Dec 1, 2023 · 6 comments
Labels

Comments

@wil70
Copy link

wil70 commented Dec 1, 2023

Description

Hello,

I followed the instructions to compile LightGBM with GPU for Windows (x64), and I was able to compile and run the code. TY!
Unfortunatly I encountered the following exception "Met Exceptions: Invalid Kernel Arguments"

I created 2 bin input files to for lightgbm for training and validation (file size: ~100MB each with max_bin=15)

Command output for a small test dataset:

[LightGBM] [Info] Finished loading parameters
[LightGBM] [Info] Load from binary file train.15.bin
[LightGBM] [Warning] Parameter label_column works only in case of loading data directly from text file. It will be ignored when loading from binary file.
[LightGBM] [Warning] Parameter ignore_column works only in case of loading data directly from text file. It will be ignored when loading from binary file.
[LightGBM] [Warning] Parameter two_round works only in case of loading data directly from text file. It will be ignored when loading from binary file.
[LightGBM] [Info] Finished loading data in 4.662508 seconds
[LightGBM] [Info] This is the GPU trainer!!
[LightGBM] [Info] Total Bins 2360250
[LightGBM] [Info] Number of data points in the train set: 300, number of used features: 191786
[LightGBM] [Info] Using requested OpenCL platform 0 device 0
[LightGBM] [Info] Using GPU Device: NVIDIA GeForce GTX 1660 Ti, Vendor: NVIDIA Corporation
[LightGBM] [Info] Compiling OpenCL Kernel with 64 bins...
[LightGBM] [Info] GPU programs have been built
[LightGBM] [Info] Size of histogram bin entry: 8
[LightGBM] [Info] 168418 dense feature groups (48.19 MB) transferred to GPU in 1.841396 secs. 1 sparse feature groups
[LightGBM] [Info] Finished initializing training
[LightGBM] [Info] Started training...
[LightGBM] [Info] Start training from score -1.469676
[LightGBM] [Info] Start training from score -0.666830
[LightGBM] [Info] Start training from score -1.359977
Met Exceptions:
Invalid Kernel Arguments

Command output for a smaller test dataset:

[LightGBM] [Info] Finished loading data in 5.436181 seconds
[LightGBM] [Info] This is the GPU trainer!!
[LightGBM] [Info] Total Bins 1391739
[LightGBM] [Info] Number of data points in the train set: 60, number of used features: 113696
[LightGBM] [Info] Using requested OpenCL platform 0 device 0
[LightGBM] [Info] Using GPU Device: NVIDIA GeForce GTX 1660 Ti, Vendor: NVIDIA Corporation
[LightGBM] [Info] Compiling OpenCL Kernel with 16 bins...
[LightGBM] [Info] GPU programs have been built
[LightGBM] [Info] Size of histogram bin entry: 8
[LightGBM] [Info] 113693 dense feature groups (3.25 MB) transferred to GPU in 0.851389 secs. 0 sparse feature groups
[LightGBM] [Info] Finished initializing training
[LightGBM] [Info] Started training...
[LightGBM] [Info] Start training from score -1.386294
[LightGBM] [Info] Start training from score -0.567984
[LightGBM] [Info] Start training from score -1.696449
[LightGBM] [Info] Increasing preallocd_max_num_wg_ to 14212 for launching more workgroups
Met Exceptions:
Invalid Kernel Arguments

Any idea how to solve this to move forward with the GPU?

Thanks for your help

Wil

Reproducible example

Create a csv file with random doubles (1K rows and 100K columns).

Create conf file and start LightGBM that has been compiled for GPU.
c:\>lightgbm.exe config=trainGPU.conf

trainGPU.conf:


# task type, support train and predict ....save_binary not working...
task = train
num_threads = 6
force_col_wise=true
two_round = true

# GPU
# https://lightgbm.readthedocs.io/en/latest/GPU-Performance.html
# device_type , default = cpu, type = enum, options: cpu, gpu, cuda, aliases: device
device_type=gpu
gpu_use_dp=false
gpu_platform_id=0
gpu_device_id=0

# boosting type, support gbdt for now, alias: boosting, boost
boosting_type = gbdt

objective = multiclass
metric = multi_logloss,multi_error

# number of class, for multiclass classification
num_class = 3
metric_freq = 1
is_training_metric = true
header = false

label_column=0
categorical_feature=0

max_bin = 15

data = train_100_reduced_split_train.csv.15
valid_data = train_100_reduced_split_validate.csv.15

# number of trees(iterations), alias: num_tree, num_iteration, num_iterations, num_round, num_rounds
num_trees = 500

# shrinkage rate , alias: shrinkage_rate
learning_rate = 0.1

output_model = "gpu\train_model.txt"

snapshot_freq = 1

Environment info

  • Windows 10, 64 bits
  • Latest LightGBM code as of Nov. 30th, 2023
  • vs 2022 (latest version as of Nov 30th)

LightGBM version or commit hash: SHA-1: 5083df1

Command(s) you used to install LightGBM

Git pull ...
"c:\Program Files\cmake\bin\cmake" -A x64 -DUSE_GPU=1 -DBOOST_ROOT=c:\Home\Wilhelm\dev\GPUl\boost_1_83_0 -DBOOST_LIBRARYDIR=c:\Home\Wilhelm\dev\GPUl\boost_1_83_0\lib64-msvc-14.3 -DOpenCL_LIBRARY="c:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\lib\x64\OpenCL.lib" -DOpenCL_INCLUDE_DIR="c:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" ..
"c:\Program Files\cmake\bin\cmake" --build . --target ALL_BUILD --config Release

Win 10 PRO + Vs 2022, all latest update installed.

Additional Comments

There is no issue when compiled and run for CPU.
My compiled GPU version works on small dataset (less than 40 columns with few thousands rows) but fail with bigger datasets

@wil70
Copy link
Author

wil70 commented Dec 19, 2023

Hello,

Here is an update. I was able to run further testing.

Working: I'm able to run the GPU on a 800GB+ bin file

[LightGBM] [Info] Finished loading parameters
[LightGBM] [Info] Load from binary file binary.train.bin
[LightGBM] [Info] Finished loading data in 20.164473 seconds
[LightGBM] [Info] This is the GPU trainer!!
[LightGBM] [Info] Total Bins 1740697
[LightGBM] [Info] Number of data points in the train set: 75154, number of used features: 9601
[LightGBM] [Info] Using GPU Device: NVIDIA GeForce GTX 1660 Ti, Vendor: NVIDIA Corporation
[LightGBM] [Info] Compiling OpenCL Kernel with 256 bins...
[LightGBM] [Info] GPU programs have been built
[LightGBM] [Info] Size of histogram bin entry: 8
[LightGBM] [Info] 9562 dense feature groups (685.48 MB) transferred to GPU in 0.664620 secs. 1 sparse feature groups
[LightGBM] [Info] Finished initializing training
[LightGBM] [Info] Started training...
[LightGBM] [Info] Start training from score -0.689879
[LightGBM] [Info] Start training from score -0.696426
[LightGBM] [Info] Iteration:1, training multi_logloss : 0.6813

Not working: But when I try on a smaller bin file (~350GB) but with more features, then it fails

[LightGBM] [Info] Finished loading parameters
[LightGBM] [Info] Load from binary file binary.train.larger.bin
[LightGBM] [Info] Finished loading data in 11.161860 seconds
[LightGBM] [Info] This is the GPU trainer!!
[LightGBM] [Info] Total Bins 11033538
[LightGBM] [Info] Number of data points in the train set: 300, number of used features: 191786
[LightGBM] [Info] Using GPU Device: NVIDIA GeForce GTX 1660 Ti, Vendor: NVIDIA Corporation
[LightGBM] [Info] Compiling OpenCL Kernel with 256 bins...
[LightGBM] [Info] GPU programs have been built
[LightGBM] [Info] Size of histogram bin entry: 8
[LightGBM] [Info] 168418 dense feature groups (48.19 MB) transferred to GPU in 2.568508 secs. 1 sparse feature groups
[LightGBM] [Info] Finished initializing training
[LightGBM] [Info] Started training...
[LightGBM] [Info] Start training from score -1.469676
[LightGBM] [Info] Start training from score -0.666830
[LightGBM] [Info] Start training from score -1.359977
[LightGBM] [Info] Increasing preallocd_max_num_wg_ to 42105 for launching more workgroups
Met Exceptions:
Invalid Kernel Arguments

Would a bigger GPU help?
How can I figure out what is the exact issue?

Note: both work on CPU

Thanks for your help

Wil

@wil70 wil70 changed the title [CLI, GPU, Win x64] Met Exceptions: Invalid Kernel Arguments [CLI, GPU, Win x64] GPU question for big data set -- Met Exceptions: Invalid Kernel Arguments Dec 19, 2023
@wil70
Copy link
Author

wil70 commented Dec 21, 2023

It seems this person is getting the same issue as I have "Invalid Kernel Arguments" when he reached 100K features.
He has a reproducible example here
https://github.com/grkremer/cuda_synthetic/blob/main/cuda_sintetic_testing.ipynb

I'm building lightgbm gpu on windows 10 pro with the "LightGBM\build" with the cmake instructions. Is there a way to start this build on vs2022 and to start the debuger so I can see what trigger this "Invalid Kernel Arguments" ?
TY

@wil70 wil70 changed the title [CLI, GPU, Win x64] GPU question for big data set -- Met Exceptions: Invalid Kernel Arguments [CLI, GPU, Win x64] LightGBM GPU doesn't work for 100K+ features --> Met Exceptions: Invalid Kernel Arguments Dec 21, 2023
@shiyu1994
Copy link
Collaborator

@wil70 The device_type=gpu version is legacy. Have you try our latest device_type=cuda version?
https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html#build-cuda-version

@wil70
Copy link
Author

wil70 commented Dec 21, 2023

Hi @shiyu1994 ,
I unfortunatly do not have a Linux box

I'm trying to compile with cuda (-DUSE_CUDA=1) instead of the gpu version (-DUSE_GPU=1)
but I get some error messages

'C:\lightgbm>"c:\Program Files\cmake\bin\cmake" -A x64 -DUSE_CUDA=1 -DBOOST_ROOT=c:\Home\Wilhelm\dev\GPUl\boost_1_83_0 -DBOOST_LIBRARYDIR=c:\Home\Wilhelm\dev\GPUl\boost_1_83_0\lib64-msvc-14.3 -DOpenCL_LIBRARY="c:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\lib\x64\OpenCL.lib" -DOpenCL_INCLUDE_DIR="c:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" ..`

CMake Deprecation Warning at CMakeLists.txt:35 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
-- OpenCL include directory: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include
CMake Warning (dev) at CMakeLists.txt:206 (find_package):
Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake
--help-policy CMP0146" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

-- CMAKE_CUDA_FLAGS: -D_WINDOWS -Xcompiler="/W3 /GR /EHsc" -Xcompiler=-openmp -Xcompiler=-fPIC -Xcompiler=-Wall -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_87,code=sm_87 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_90,code=compute_90 -O3 -lineinfo
-- ALLFEATS_DEFINES: -DPOWER_FEATURE_WORKGROUPS=12;-DUSE_CONSTANT_BUF=0;-DENABLE_ALL_FEATURES
-- FULLDATA_DEFINES: -DPOWER_FEATURE_WORKGROUPS=12;-DUSE_CONSTANT_BUF=0;-DENABLE_ALL_FEATURES;-DIGNORE_INDICES
-- Configuring done (0.5s)
-- Generating done (0.3s)
-- Build files have been written to: C:/Home/Wilhelm/dev/GPUl/LightGBM/build

"c:\Program Files\cmake\bin\cmake" --build . --target ALL_BUILD --config Release

MSBuild version 17.7.2+d6990bcfa for .NET Framework

1>Checking Build System
Building Custom Rule C:/Home/Wilhelm/dev/GPUl/LightGBM/CMakeLists.txt
histo_16_64_256-allfeats_sp.vcxproj -> C:\Home\Wilhelm\dev\GPUl\LightGBM\build\histo_16_64_256-allfeats_sp.dir\Release\histo_16_64_256-allfeats_sp.lib
Building Custom Rule C:/Home/Wilhelm/dev/GPUl/LightGBM/CMakeLists.txt
histo_16_64_256-allfeats_sp_const.vcxproj -> C:\Home\Wilhelm\dev\GPUl\LightGBM\build\histo_16_64_256-allfeats_sp_const.dir\Release\histo_16_64_256-allfeats_sp_const.lib
Building Custom Rule C:/Home/Wilhelm/dev/GPUl/LightGBM/CMakeLists.txt
histo_16_64_256-fulldata_sp.vcxproj -> C:\Home\Wilhelm\dev\GPUl\LightGBM\build\histo_16_64_256-fulldata_sp.dir\Release\histo_16_64_256-fulldata_sp.lib
Building Custom Rule C:/Home/Wilhelm/dev/GPUl/LightGBM/CMakeLists.txt
histo_16_64_256-fulldata_sp_const.vcxproj -> C:\Home\Wilhelm\dev\GPUl\LightGBM\build\histo_16_64_256-fulldata_sp_const.dir\Release\histo_16_64_256-fulldata_sp_const.lib
Building Custom Rule C:/Home/Wilhelm/dev/GPUl/LightGBM/CMakeLists.txt
histo_16_64_256_sp.vcxproj -> C:\Home\Wilhelm\dev\GPUl\LightGBM\build\histo_16_64_256_sp.dir\Release\histo_16_64_256_sp.lib
Building Custom Rule C:/Home/Wilhelm/dev/GPUl/LightGBM/CMakeLists.txt
histo_16_64_256_sp_const.vcxproj -> C:\Home\Wilhelm\dev\GPUl\LightGBM\build\histo_16_64_256_sp_const.dir\Release\histo_16_64_256_sp_const.lib
Building Custom Rule C:/Home/Wilhelm/dev/GPUl/LightGBM/CMakeLists.txt
lightgbm_capi_objs.vcxproj -> C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_capi_objs.dir\Release\lightgbm_capi_objs.lib
Building Custom Rule C:/Home/Wilhelm/dev/GPUl/LightGBM/CMakeLists.txt
Compiling CUDA source file ..\src\io\cuda\cuda_tree.cu...

C:\Home\Wilhelm\dev\GPUl\LightGBM\build>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin\nvcc.exe" --use-local-env -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64" -x cu -rdc=true -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\eigen -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\compute\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" -IC:\Home\Wilhelm\dev\GPUl\boost_1_83_0 -IC:\Home\Wil
helm\dev\GPUl\LightGBM\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_87,code=sm_87 -gencode arch=compute_90,
code=sm_90 -gencode arch=compute_90,code=compute_90 -O3 -lineinfo -Xcompiler="/EHsc -openmp -fPIC -Ob2" -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -D_MBCS -DWIN32 -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -Xcompiler "/EHsc /Wall /nologo /O2 /FS /MD
/GR" -Xcompiler "/Fdlightgbm_objs.dir\Release\lightgbm_objs.pdb" -o lightgbm_objs.dir\Release/src/io/cuda/cuda_tree.cu.obj "C:\Home\Wilhelm\dev\GPUl\LightGBM\src\io\cuda\cuda_tree.cu"
cl : Command line warning D9002: ignoring unknown option '-fPIC' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(104): warning C4668: '__NV_NO_HOST_COMPILER_CHECK' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(33): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(34): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include\cuda.h(3179): warning C4668: 'STDC_VERSION' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
cl : Command line warning D9002: ignoring unknown option '-fPIC' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(104): warning C4668: '__NV_NO_HOST_COMPILER_CHECK' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(256): warning C4668: 'CUDACC_RTC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/common_functions.h(276): warning C4668: '__cpp_aligned_new' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(33): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(34): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include\cuda.h(3179): warning C4668: 'STDC_VERSION' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Home\Wilhelm\dev\GPUl\LightGBM\src\io\cuda\cuda_tree.cu(35): error : identifier "LightGBM::kZeroThreshold" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\io\cuda\cuda_tree.cu(35): error : identifier "LightGBM::kZeroThreshold" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

2 errors detected in the compilation of "C:/Home/Wilhelm/dev/GPUl/LightGBM/src/io/cuda/cuda_tree.cu".
cuda_tree.cu
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\CUDA 12.3.targets(799,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin\nvcc.exe" --use-local-env -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64" -x cu -rdc=true -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\eigen -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\compute\include -I"C:\Pr
ogram Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" -IC:\Home\Wilhelm\dev\GPUl\boost_1_83_0 -IC:\Home\Wilhelm\dev\GPUl\LightGBM\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute
_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_87,code=sm_87 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_90,code=compute_90 -O3 -lineinfo -Xcompiler="/EHsc -openmp -fPIC -Ob2" -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -D_MBCS -DWIN32 -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE
_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -Xcompiler "/EHsc /Wall /nologo /O2 /FS /MD /GR" -Xcompiler "/Fdlightgbm_objs.dir\Release\lightgbm_objs.pdb" -o lightgbm_objs.dir\Release/src/io/cuda/cuda_tree.cu.obj "C:\Home\Wilhelm\dev\GPUl\LightGBM\src\io\cuda\cuda_tree.cu"" exited with code 1. [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
Compiling CUDA source file ..\src\metric\cuda\cuda_pointwise_metric.cu...

C:\Home\Wilhelm\dev\GPUl\LightGBM\build>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin\nvcc.exe" --use-local-env -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64" -x cu -rdc=true -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\eigen -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\compute\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" -IC:\Home\Wilhelm\dev\GPUl\boost_1_83_0 -IC:\Home\Wil
helm\dev\GPUl\LightGBM\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_87,code=sm_87 -gencode arch=compute_90,
code=sm_90 -gencode arch=compute_90,code=compute_90 -O3 -lineinfo -Xcompiler="/EHsc -openmp -fPIC -Ob2" -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -D_MBCS -DWIN32 -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -Xcompiler "/EHsc /Wall /nologo /O2 /FS /MD
/GR" -Xcompiler "/Fdlightgbm_objs.dir\Release\lightgbm_objs.pdb" -o lightgbm_objs.dir\Release/src/metric/cuda/cuda_pointwise_metric.cu.obj "C:\Home\Wilhelm\dev\GPUl\LightGBM\src\metric\cuda\cuda_pointwise_metric.cu"
cl : Command line warning D9002: ignoring unknown option '-fPIC' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(104): warning C4668: '__NV_NO_HOST_COMPILER_CHECK' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include\cuda.h(3179): warning C4668: 'STDC_VERSION' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(33): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(34): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Home\Wilhelm\dev\GPUl\LightGBM\src\metric\cuda\cuda_regression_metric.hpp(18): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Home\Wilhelm\dev\GPUl\LightGBM\src\metric\cuda\cuda_binary_metric.hpp(18): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
cl : Command line warning D9002: ignoring unknown option '-fPIC' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(104): warning C4668: '__NV_NO_HOST_COMPILER_CHECK' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(256): warning C4668: 'CUDACC_RTC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/common_functions.h(276): warning C4668: '__cpp_aligned_new' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include\cuda.h(3179): warning C4668: 'STDC_VERSION' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(33): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(34): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Home\Wilhelm\dev\GPUl\LightGBM\src\metric\cuda\cuda_regression_metric.hpp(18): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Home\Wilhelm\dev\GPUl\LightGBM\src\metric\cuda\cuda_binary_metric.hpp(18): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Home\Wilhelm\dev\GPUl\LightGBM\src\metric\cuda\cuda_binary_metric.hpp(41): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\metric\cuda\cuda_binary_metric.hpp(45): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\metric\cuda\cuda_binary_metric.hpp(49): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

3 errors detected in the compilation of "C:/Home/Wilhelm/dev/GPUl/LightGBM/src/metric/cuda/cuda_pointwise_metric.cu".
cuda_pointwise_metric.cu
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\CUDA 12.3.targets(799,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin\nvcc.exe" --use-local-env -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64" -x cu -rdc=true -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\eigen -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\compute\include -I"C:\Pr
ogram Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" -IC:\Home\Wilhelm\dev\GPUl\boost_1_83_0 -IC:\Home\Wilhelm\dev\GPUl\LightGBM\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute
_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_87,code=sm_87 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_90,code=compute_90 -O3 -lineinfo -Xcompiler="/EHsc -openmp -fPIC -Ob2" -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -D_MBCS -DWIN32 -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE
_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -Xcompiler "/EHsc /Wall /nologo /O2 /FS /MD /GR" -Xcompiler "/Fdlightgbm_objs.dir\Release\lightgbm_objs.pdb" -o lightgbm_objs.dir\Release/src/metric/cuda/cuda_pointwise_metric.cu.obj "C:\Home\Wilhelm\dev\GPUl\LightGBM\src\metric\cuda\cuda_pointwise_metric.cu"" exited with code 1. [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
Compiling CUDA source file ..\src\objective\cuda\cuda_binary_objective.cu...

C:\Home\Wilhelm\dev\GPUl\LightGBM\build>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin\nvcc.exe" --use-local-env -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64" -x cu -rdc=true -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\eigen -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\compute\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" -IC:\Home\Wilhelm\dev\GPUl\boost_1_83_0 -IC:\Home\Wil
helm\dev\GPUl\LightGBM\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_87,code=sm_87 -gencode arch=compute_90,
code=sm_90 -gencode arch=compute_90,code=compute_90 -O3 -lineinfo -Xcompiler="/EHsc -openmp -fPIC -Ob2" -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -D_MBCS -DWIN32 -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -Xcompiler "/EHsc /Wall /nologo /O2 /FS /MD
/GR" -Xcompiler "/Fdlightgbm_objs.dir\Release\lightgbm_objs.pdb" -o lightgbm_objs.dir\Release/src/objective/cuda/cuda_binary_objective.cu.obj "C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_binary_objective.cu"
cl : Command line warning D9002: ignoring unknown option '-fPIC' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(104): warning C4668: '__NV_NO_HOST_COMPILER_CHECK' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include\cuda.h(3179): warning C4668: 'STDC_VERSION' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(33): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(34): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_binary_objective.hpp(20): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
cl : Command line warning D9002: ignoring unknown option '-fPIC' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(104): warning C4668: '__NV_NO_HOST_COMPILER_CHECK' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(256): warning C4668: 'CUDACC_RTC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/common_functions.h(276): warning C4668: '__cpp_aligned_new' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include\cuda.h(3179): warning C4668: 'STDC_VERSION' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(33): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(34): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_binary_objective.hpp(20): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_binary_objective.cu(82): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_binary_objective.cu(83): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_binary_objective.cu(82): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_binary_objective.cu(83): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

4 errors detected in the compilation of "C:/Home/Wilhelm/dev/GPUl/LightGBM/src/objective/cuda/cuda_binary_objective.cu".
cuda_binary_objective.cu
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\CUDA 12.3.targets(799,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin\nvcc.exe" --use-local-env -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64" -x cu -rdc=true -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\eigen -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\compute\include -I"C:\Pr
ogram Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" -IC:\Home\Wilhelm\dev\GPUl\boost_1_83_0 -IC:\Home\Wilhelm\dev\GPUl\LightGBM\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute
_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_87,code=sm_87 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_90,code=compute_90 -O3 -lineinfo -Xcompiler="/EHsc -openmp -fPIC -Ob2" -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -D_MBCS -DWIN32 -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE
_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -Xcompiler "/EHsc /Wall /nologo /O2 /FS /MD /GR" -Xcompiler "/Fdlightgbm_objs.dir\Release\lightgbm_objs.pdb" -o lightgbm_objs.dir\Release/src/objective/cuda/cuda_binary_objective.cu.obj "C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_binary_objective.cu"" exited with code 1. [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
Compiling CUDA source file ..\src\objective\cuda\cuda_rank_objective.cu...

C:\Home\Wilhelm\dev\GPUl\LightGBM\build>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin\nvcc.exe" --use-local-env -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64" -x cu -rdc=true -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\eigen -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\compute\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" -IC:\Home\Wilhelm\dev\GPUl\boost_1_83_0 -IC:\Home\Wil
helm\dev\GPUl\LightGBM\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_87,code=sm_87 -gencode arch=compute_90,
code=sm_90 -gencode arch=compute_90,code=compute_90 -O3 -lineinfo -Xcompiler="/EHsc -openmp -fPIC -Ob2" -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -D_MBCS -DWIN32 -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -Xcompiler "/EHsc /Wall /nologo /O2 /FS /MD
/GR" -Xcompiler "/Fdlightgbm_objs.dir\Release\lightgbm_objs.pdb" -o lightgbm_objs.dir\Release/src/objective/cuda/cuda_rank_objective.cu.obj "C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu"
cl : Command line warning D9002: ignoring unknown option '-fPIC' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(104): warning C4668: '__NV_NO_HOST_COMPILER_CHECK' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include\cuda.h(3179): warning C4668: 'STDC_VERSION' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(33): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(34): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.hpp(21): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
cl : Command line warning D9002: ignoring unknown option '-fPIC' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(104): warning C4668: '__NV_NO_HOST_COMPILER_CHECK' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(256): warning C4668: 'CUDACC_RTC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/common_functions.h(276): warning C4668: '__cpp_aligned_new' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include\cuda.h(3179): warning C4668: 'STDC_VERSION' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(33): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(34): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.hpp(21): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(54): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(66): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(85): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(106): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(54): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(66): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(85): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(106): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(54): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(66): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(85): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(106): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(54): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(66): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(85): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(106): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(54): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(66): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(85): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(106): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(54): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(66): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(85): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(106): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(54): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(66): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(85): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(106): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(54): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(66): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(85): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(106): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(54): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(66): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(85): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(106): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(54): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(66): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(85): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(106): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(54): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(66): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(85): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(106): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(54): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(66): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(85): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(106): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(54): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(66): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(85): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(106): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(54): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(66): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(85): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(106): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(220): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(247): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(220): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(247): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(220): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(247): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(220): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(247): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(220): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(247): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(220): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(247): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(220): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(247): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(536): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(576): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(420): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(460): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(420): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu(460): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

76 errors detected in the compilation of "C:/Home/Wilhelm/dev/GPUl/LightGBM/src/objective/cuda/cuda_rank_objective.cu".
cuda_rank_objective.cu
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\CUDA 12.3.targets(799,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin\nvcc.exe" --use-local-env -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64" -x cu -rdc=true -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\eigen -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\compute\include -I"C:\Pr
ogram Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" -IC:\Home\Wilhelm\dev\GPUl\boost_1_83_0 -IC:\Home\Wilhelm\dev\GPUl\LightGBM\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute
_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_87,code=sm_87 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_90,code=compute_90 -O3 -lineinfo -Xcompiler="/EHsc -openmp -fPIC -Ob2" -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -D_MBCS -DWIN32 -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE
_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -Xcompiler "/EHsc /Wall /nologo /O2 /FS /MD /GR" -Xcompiler "/Fdlightgbm_objs.dir\Release\lightgbm_objs.pdb" -o lightgbm_objs.dir\Release/src/objective/cuda/cuda_rank_objective.cu.obj "C:\Home\Wilhelm\dev\GPUl\LightGBM\src\objective\cuda\cuda_rank_objective.cu"" exited with code 1. [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
Compiling CUDA source file ..\src\treelearner\cuda\cuda_best_split_finder.cu...

C:\Home\Wilhelm\dev\GPUl\LightGBM\build>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin\nvcc.exe" --use-local-env -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64" -x cu -rdc=true -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\eigen -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\compute\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" -IC:\Home\Wilhelm\dev\GPUl\boost_1_83_0 -IC:\Home\Wil
helm\dev\GPUl\LightGBM\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_87,code=sm_87 -gencode arch=compute_90,
code=sm_90 -gencode arch=compute_90,code=compute_90 -O3 -lineinfo -Xcompiler="/EHsc -openmp -fPIC -Ob2" -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -D_MBCS -DWIN32 -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -Xcompiler "/EHsc /Wall /nologo /O2 /FS /MD
/GR" -Xcompiler "/Fdlightgbm_objs.dir\Release\lightgbm_objs.pdb" -o lightgbm_objs.dir\Release/src/treelearner/cuda/cuda_best_split_finder.cu.obj "C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu"
cl : Command line warning D9002: ignoring unknown option '-fPIC' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(104): warning C4668: '__NV_NO_HOST_COMPILER_CHECK' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include\cuda.h(3179): warning C4668: 'STDC_VERSION' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(33): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(34): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
cl : Command line warning D9002: ignoring unknown option '-fPIC' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(104): warning C4668: '__NV_NO_HOST_COMPILER_CHECK' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(256): warning C4668: 'CUDACC_RTC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/common_functions.h(276): warning C4668: '__cpp_aligned_new' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include\cuda.h(3179): warning C4668: 'STDC_VERSION' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(33): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(34): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1937): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1966): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(2118): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(800): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(800): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1590): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1590): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(800): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(800): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1590): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1590): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(800): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(800): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1590): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1590): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(800): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(800): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1590): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1590): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(800): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(800): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1590): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1590): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(800): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(800): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1590): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1590): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(800): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(800): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1590): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1590): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(800): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(800): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1590): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1590): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(59): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(118): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(554): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(557): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(624): error : identifier "LightGBM::kMaxScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(627): error : identifier "LightGBM::kMaxScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(657): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(696): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(206): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(208): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(275): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(278): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(298): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(301): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(206): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(208): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(275): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(278): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(298): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(301): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1312): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1340): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1343): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1410): error : identifier "LightGBM::kMaxScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1440): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1479): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1146): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1148): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1223): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1226): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1248): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1251): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1146): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1148): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1223): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1226): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1248): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1251): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(554): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(557): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(624): error : identifier "LightGBM::kMaxScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(627): error : identifier "LightGBM::kMaxScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(657): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(696): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(206): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(208): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(275): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(278): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(298): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(301): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(206): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(208): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(275): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(278): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(298): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(301): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1312): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1340): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1343): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1410): error : identifier "LightGBM::kMaxScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1440): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1479): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1146): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1148): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu(1223): error : identifier "LightGBM::kEpsilon" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

Error limit reached.
100 errors detected in the compilation of "C:/Home/Wilhelm/dev/GPUl/LightGBM/src/treelearner/cuda/cuda_best_split_finder.cu".
Compilation terminated.
cuda_best_split_finder.cu
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\CUDA 12.3.targets(799,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin\nvcc.exe" --use-local-env -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64" -x cu -rdc=true -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\eigen -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\compute\include -I"C:\Pr
ogram Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" -IC:\Home\Wilhelm\dev\GPUl\boost_1_83_0 -IC:\Home\Wilhelm\dev\GPUl\LightGBM\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute
_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_87,code=sm_87 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_90,code=compute_90 -O3 -lineinfo -Xcompiler="/EHsc -openmp -fPIC -Ob2" -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -D_MBCS -DWIN32 -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE
_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -Xcompiler "/EHsc /Wall /nologo /O2 /FS /MD /GR" -Xcompiler "/Fdlightgbm_objs.dir\Release\lightgbm_objs.pdb" -o lightgbm_objs.dir\Release/src/treelearner/cuda/cuda_best_split_finder.cu.obj "C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_best_split_finder.cu"" exited with code 1. [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
Compiling CUDA source file ..\src\treelearner\cuda\cuda_gradient_discretizer.cu...

C:\Home\Wilhelm\dev\GPUl\LightGBM\build>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin\nvcc.exe" --use-local-env -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64" -x cu -rdc=true -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\eigen -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\compute\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" -IC:\Home\Wilhelm\dev\GPUl\boost_1_83_0 -IC:\Home\Wil
helm\dev\GPUl\LightGBM\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_87,code=sm_87 -gencode arch=compute_90,
code=sm_90 -gencode arch=compute_90,code=compute_90 -O3 -lineinfo -Xcompiler="/EHsc -openmp -fPIC -Ob2" -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -D_MBCS -DWIN32 -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -Xcompiler "/EHsc /Wall /nologo /O2 /FS /MD
/GR" -Xcompiler "/Fdlightgbm_objs.dir\Release\lightgbm_objs.pdb" -o lightgbm_objs.dir\Release\cuda_gradient_discretizer.obj "C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_gradient_discretizer.cu"
cl : Command line warning D9002: ignoring unknown option '-fPIC' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(104): warning C4668: '__NV_NO_HOST_COMPILER_CHECK' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include\cuda.h(3179): warning C4668: 'STDC_VERSION' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(33): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(34): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_gradient_discretizer.hpp(22): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
cl : Command line warning D9002: ignoring unknown option '-fPIC' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(104): warning C4668: '__NV_NO_HOST_COMPILER_CHECK' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/host_config.h(256): warning C4668: 'CUDACC_RTC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\crt/common_functions.h(276): warning C4668: '__cpp_aligned_new' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include\cuda.h(3179): warning C4668: 'STDC_VERSION' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(33): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:/Home/Wilhelm/dev/GPUl/LightGBM/include\LightGBM/utils/common.h(34): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_gradient_discretizer.hpp(22): warning C4464: relative include path contains '..' [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]
C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_gradient_discretizer.cu(27): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_gradient_discretizer.cu(28): error : identifier "LightGBM::kMaxScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_gradient_discretizer.cu(29): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_gradient_discretizer.cu(30): error : identifier "LightGBM::kMaxScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_gradient_discretizer.cu(60): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_gradient_discretizer.cu(61): error : identifier "LightGBM::kMaxScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_gradient_discretizer.cu(62): error : identifier "LightGBM::kMinScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_gradient_discretizer.cu(63): error : identifier "LightGBM::kMaxScore" is undefined in device code [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

8 errors detected in the compilation of "C:/Home/Wilhelm/dev/GPUl/LightGBM/src/treelearner/cuda/cuda_gradient_discretizer.cu".
cuda_gradient_discretizer.cu
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\CUDA 12.3.targets(799,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin\nvcc.exe" --use-local-env -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64" -x cu -rdc=true -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\eigen -IC:\Home\Wilhelm\dev\GPUl\LightGBM\external_libs\compute\include -I"C:\Pr
ogram Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" -IC:\Home\Wilhelm\dev\GPUl\boost_1_83_0 -IC:\Home\Wilhelm\dev\GPUl\LightGBM\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute
_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_87,code=sm_87 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_90,code=compute_90 -O3 -lineinfo -Xcompiler="/EHsc -openmp -fPIC -Ob2" -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -D_MBCS -DWIN32 -D_WINDOWS -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -DUSE_SOCKET -DBOOST_ALL_NO_LIB -DUSE
_GPU -DUSE_CUDA -DWIN_HAS_INET_PTON -D"CMAKE_INTDIR="Release"" -Xcompiler "/EHsc /Wall /nologo /O2 /FS /MD /GR" -Xcompiler "/Fdlightgbm_objs.dir\Release\lightgbm_objs.pdb" -o lightgbm_objs.dir\Release\cuda_gradient_discretizer.obj "C:\Home\Wilhelm\dev\GPUl\LightGBM\src\treelearner\cuda\cuda_gradient_discretizer.cu"" exited with code 1. [C:\Home\Wilhelm\dev\GPUl\LightGBM\build\lightgbm_objs.vcxproj]

I will try WSL2 but I'm reading there are GPU support contraints.

@gorfein
Copy link

gorfein commented Mar 4, 2024

I, too, am running into this issue on a dataset that's (84, 123434) in shape. I can use this data and model on CPU mode, but not GPU. Has there been any explanation on why this error is generated for datasets with large features (such as 100k+ features)? I tried changing the dtype to one that uses less memory, although I do not believe I am explicitly running into memory issues here (that I'm aware of).

Any context would be appreciated!

@iadfy
Copy link

iadfy commented Jun 16, 2024

Same here. my data has 136200 columns and CPU works well while GPU goes into fail when the data has 27+ rows. up to 26 rows works fine with GPU. error message is "Error: Error { code: Some(-1), message: "Invalid Kernel Arguments" }". GPU memory is enough and even it seems that it is not loaded GPU memory when i tracked it GPU memory usage.

As it occurs repeatedly after the message "[LightGBM] [Info] Increasing preallocd_max_num_wg_ to 34050 for launching more workgroups", i guess some of arguments for rearranging workgroup have a limitation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants