Skip to content

Commit

Permalink
Include thrust/sort header (#34)
Browse files Browse the repository at this point in the history
* Include thrust/sort header

* Drop unused CC and CXX

CI now uses conda compilers, not CC/CXX

* Rename docs_cuml target to docs_gputreeshap
  • Loading branch information
sevagh authored Aug 23, 2022
1 parent cdcff3f commit 78e3548
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions GPUTreeShap/gpu_treeshap.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <thrust/logical.h>
#include <thrust/reduce.h>
#include <thrust/host_vector.h>
#include <thrust/sort.h>
#include <cub/cub.cuh>
#include <algorithm>
#include <functional>
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_GTEST=ON -DBUILD_EXAMPLES=ON -DBUILD_BENCHMARKS=ON
make -j4
cmake --build . --target docs_cuml
cmake --build . --target docs_gputreeshap
3 changes: 0 additions & 3 deletions ci/gpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ env
gpuci_logger "Check GPU usage"
nvidia-smi

$CC --version
$CXX --version

gpuci_logger "Activate conda env"
. /opt/conda/etc/profile.d/conda.sh
conda activate rapids
Expand Down
2 changes: 1 addition & 1 deletion cmake/doxygen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function(add_doxygen_target)
set(multiValueArgs "")
cmake_parse_arguments(dox "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
configure_file(${dox_IN_DOXYFILE} ${dox_OUT_DOXYFILE} @ONLY)
add_custom_target(docs_cuml
add_custom_target(docs_gputreeshap
${DOXYGEN_EXECUTABLE} ${dox_OUT_DOXYFILE}
WORKING_DIRECTORY ${dox_CWD}
VERBATIM
Expand Down

0 comments on commit 78e3548

Please sign in to comment.