-
Notifications
You must be signed in to change notification settings - Fork 29
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
Include some more headers when installing #188
Comments
The follow-up question: If I were to just move all headers to |
Because this is how it's always been? 😃 I'm not really sure but, if I had to guess, I would say that the headers in
This is something that I don't have a good answer for. It almost looks like
Yes, I think this is something we need to do if we want to make a plugin system that allows people to write new classes in the same style as what ships in Bifrost. Even my
|
Maybe also a |
I guess IMO, But there is a cost to making something part of the public interface if it doesn't need to be – in terms of writing/maintaining documentation, limiting changes to the API, etc. I wouldn't want to put things that are just implementation-only but ideally not client-facing in there. One thing I'm thinking of is our unholy ifdef’d filesystem code for maintaining caches. I think using subdirectories within the includes seems a little over-engineered, perhaps? Unless it's really clear that these are distinct sub-components with crisp boundaries somehow. Maybe different plugin interfaces qualify? I don't think I'd do it for different types – extensions like |
That's a good point about stability of the public interface. I guess my goal with the subdirectories was to try to convey a sense of that by separating out what defines the rings/status codes/classes (this What about calling it |
With the plugin system, I've found that I need
utils.hpp
andassert.hpp
,which are insrc/
, notsrc/bifrost
, so are not copied over to /usr/local (or --prefix if that is set). So, I need to manually pass the path of the bifrost source code before I can get things to compile.Can I ask:
src/bifrost
, and others not? (it looks like these haveextern C
set, and are.h
, not.hpp
).cuda/
directory with only one file,stream.hpp
in it? Follow-up: why isn'tcuda.hpp
in this directory?I would think any part of the C++ API that we want to expose should have header included in
src/bifrost
, so they can be copied over to/usr/local/include/bifrost
upon installation?The text was updated successfully, but these errors were encountered: