-
Notifications
You must be signed in to change notification settings - Fork 179
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
[EPIC] Clarify support for CCCL headers with host-only translation units #1374
Labels
feature request
New feature or request.
Comments
jrhemstad
changed the title
[EPIC] Host-only functionality and testing
[EPIC] Clarify support for CCCL headers with host-only translation units
Feb 13, 2024
1 task
18 tasks
1 task
1 task
1 task
Here is the wording in the current documentation of libcu++:
I discussed with @wmaxey that "works in |
jerry060599
added a commit
to jerry060599/KittenGpuLBVH
that referenced
this issue
Oct 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this a duplicate?
Area
General CCCL
Is your feature request related to a problem? Please describe.
As a user of CCCL code, there are certain headers and features that I'd like to be able to use independent of compiling with
nvcc
. In other words, I'd like to know which headers and functionality can be used with only a host compiler (i.e., nonvcc
).I'd expect CCCL to clearly document guarantees which headers/features should work in host-only TUs. Furthermore, I'd expect CCCL to thoroughly test these guarantees as part of its CI testing.
Describe the solution you'd like
Tasks
libcudacxx
headerslibcudacxx
headers in host-only TUs #1658cuda::
types between host and device TUsThrust
headersthrust::
types between host and device TUsthrust
headers in host-only TUs (Various and sundry fixes for Thrust's CPP backends. #1722)CUB
headersAdditional context
Off the top of my head, here's a quick summary of the status quo:
cuda/
header should be able to be included in a host-only TU and compile succesfully. The ABI should always be consistent between host and device TUs.cub/
header supports inclusion in host-only TUs and this will never changethrust/
header is supported in host-only TUs whenTHRUST_DEVICE_SYSTEM=CUDA
. Likewise,thrust::
types are not guaranteed to have a consistent ABI between host and device TUsthrust/
headers are supported in host-only TUs whenTHRUST_DEVICE_SYSTEM={CPP, OMP, TBB}
Related:
The text was updated successfully, but these errors were encountered: