-
Notifications
You must be signed in to change notification settings - Fork 197
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
[BUG] RAFT header conflicts #128
Comments
This issue has been labeled |
This issue has been labeled |
This still seems worth addressing. |
+1 Facing similar issues while building raft with cuml, for |
@bryevdv @AjayThorve @trxclln tIs the problem here is related to conflicting names which are defined in multiple projects or are these conflicts defined only in RAFT but having problems because somehow the RAFT headers are being installed in different locations? If it's the former, I would recommend we centralize the conflicting names into RAFT (potentially prefixed w/ a |
cc @trxcllnt @cjnolet I assume the former. E.g. raft/cpp/include/raft/cudart_utils.h Line 56 in c2e5a09
and here in cudf |
Ran into the same problem described by @bryevdv trying to use RAFT and cuDF APIs in a compilation unit. |
I will be creating a PR for this shortly, though we've agreed to add the new macros and deprecate the old ones rather than renaming. In the meantime, I will wrap the current functions w/ conditionals to test if it's been defined, though. |
Closes #128 Authors: - Corey J. Nolet (https://github.com/cjnolet) Approvers: - Divye Gala (https://github.com/divyegala) - Chuck Hastings (https://github.com/ChuckHastings) URL: #378
Describe the bug
RAFT headers do not play nicely with some other RAPIDS libraries because of duplicated names
in rapids-js, just doing
results in:
Currently to mitigate we have an
internal/graph.hpp
header to do this:But it would be better if these RAPIDS tools could coordinate to avoid these clashes.
cc @trxcllnt
The text was updated successfully, but these errors were encountered: