-
Notifications
You must be signed in to change notification settings - Fork 186
Redistributable #214
Comments
It's header only - there's no binary component. |
Bryce beat me to the punch. Our CMake configuration is there to make We don't really have any platform specific configuration we do at CMake configure time, most of our checks are in the |
How is it header only? I'm looking at dozens of .cpp files full of definitions that have to be compiled. Here's the declaration for cout: Here's its definition, in a cpp file: Here's the decaration for operator new: Here's it's definition, in a cpp file: |
As you may have noticed, the headers you linked are deep within a "detail" directory. Only headers that are directly in include/cuda and include/cuda/std are supported at this time. |
You are correct, those are functional underpinnings of our library. However, we do not expose those to users. The only front-end that should be available to users are the files located in Yes, someone could forcefully include Libcudacxx is an extremely slim implementation of some memory model fundamentals, synchronization, and a growing subset of utilities. Things like memory allocation and iostream are on the roadmap, but will require more design and time. :( |
I'm not expecting to use any of that stuff on the device. My understanding is that this is a fork of libc++ with some special sauce for GPU, but that it provides a standard lib for the whole system. How do I use iostreams, etc, on the host? I wouldn't be simultaneously including both libcudacxx and libstdc++, rigth? |
We should be non-interfering with host standard libraries! To the best of my knowledge that hasn't been broken yet except for some weird ADL stuff going on in GCC-9. |
Your understanding is incorrect. At this time, libcu++ does not implement Please refer to the documentation to see what is supported at this time. |
I'm interested in supporting this library on my own compiler. Do you provide a binary redistributable that covers the non-header portions of the library? Would that be hiding in the hpc toolkit somewhere? Basically I'm looking for guidance on deployment.
The text was updated successfully, but these errors were encountered: