Allow compilation with nvcc 11.4 (#7131)

* Use type aliases for discard iterators

* update to include host_vector as thrust 1.12 doesn't bring it in as a side-effect

* cub::DispatchRadixSort requires signed offset types
This commit is contained in:
Robert Maynard
2021-07-27 08:05:33 -04:00
committed by GitHub
parent 7017dd5a26
commit 1a75f43304
5 changed files with 8 additions and 16 deletions

View File

@@ -5,6 +5,7 @@
#include <thrust/device_ptr.h>
#include <thrust/device_vector.h>
#include <thrust/fill.h>
#include <thrust/host_vector.h>
#include <GPUTreeShap/gpu_treeshap.h>
#include <memory>