-
Notifications
You must be signed in to change notification settings - Fork 158
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
Add missing rmm includes #590
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor comments. Can merge once CI passes.
cpp/include/cuspatial/error.hpp
Outdated
@@ -16,8 +16,9 @@ | |||
|
|||
#pragma once | |||
|
|||
#include <cuda.h> | |||
//#include <cuda.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should remove this because it's redundant of cuda_runtime_api.h
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, I was testing commenting it out and forgot to remove it. Yes, will remove.
@gpucibot merge |
A recent change to libcudf removed a forward declaration and/or RMM header includes, and cuSpatial was errantly relying on these to get the definitions of
device_memory_resource
andget_current_device_resource()
.This PR fixes that by adding missing includes of
rmm/mr/device/per_device_resource.hpp
in several files. It also generally cleans up include ordering and spacing, and adds a few missing copyright headers.