-
Notifications
You must be signed in to change notification settings - Fork 188
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
[DOC]: Does libcu++ support non-CUDA compilers? #1968
Labels
doc
Documentation-related items.
Comments
1 task
I just discussed this with @wmaxey and he confirmed that |
I think this may be redundant with #1374 |
It is. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this a duplicate?
Is this for new documentation, or an update to existing docs?
New
Describe the incorrect/future/missing documentation
The documentation of libcu++ specifies the following:
std::
/<*>
: This is your host compiler's Standard Library that works in__host__
code only, although youcan use the
--expt-relaxed-constexpr
flag to use anyconstexpr
functions in__device__
code.libcu++ does not replace or interfere with host compiler's Standard Library.
cuda::std::
/<cuda/std/*>
: Conforming implementations of facilities from the Standard Library that work in__host__ __device__
code.cuda::
/<cuda/*>
: Conforming extensions to the Standard Library that work in__host__ __device__
code.cuda::device
/<cuda/device/*>
: Conforming extensions to the Standard Library that work only in__device__
code.cuda::ptx
: C++ convenience wrappers for inline PTX (only usable in__device__
code).However, it does not specify whether "works in
__host__
code" implies that it can be compiled by a non-CUDA compiler like g++. This is highly desirable though and appears to be existing practice. Thrust's TBB and OMP backends for example can be compiled by several non-CUDA compilers (e.g. g++, clang, icpc, msvc, nvc++, etc.) and Thrust uses libcu++ in a lot of places already.I would like the documentation of libcu++ to explicitly point out support for non-CUDA compilers for every feature supported in
__host__
code.If this is a correction, please provide a link to the incorrect documentation. If this is a new documentation request, please link to where you have looked.
No response
The text was updated successfully, but these errors were encountered: