Fix rmm build (#7973)
- Optionally switch to c++17 - Use rmm CMake target. - Workaround compiler errors. - Fix GPUMetric inheritance. - Run death tests even if it's built with RMM support. Co-authored-by: jakirkham <jakirkham@gmail.com>
This commit is contained in:
@@ -130,12 +130,12 @@ void MetaInfo::SetInfoFromCUDA(Context const&, StringView key, Json array) {
|
||||
}
|
||||
// uint info
|
||||
if (key == "group") {
|
||||
auto array_interface{ArrayInterface<1>(array)};
|
||||
ArrayInterface<1> array_interface{array};
|
||||
CopyGroupInfoImpl(array_interface, &group_ptr_);
|
||||
data::ValidateQueryGroup(group_ptr_);
|
||||
return;
|
||||
} else if (key == "qid") {
|
||||
auto array_interface{ArrayInterface<1>(array)};
|
||||
ArrayInterface<1> array_interface{array};
|
||||
CopyQidImpl(array_interface, &group_ptr_);
|
||||
data::ValidateQueryGroup(group_ptr_);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user