Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Fix compilation of async algorithms when RDC is enabled. #1161

Merged

Conversation

alliepiper
Copy link
Collaborator

THRUST_RUNTIME_FUNCTION includes __device__ when RDC is enabled. Since
the async algorithms use host-only futures and events, this causes builds
to fail. Making the async entry points regular __host__ functions fixes
this.

This fixes #1050.

THRUST_RUNTIME_FUNCTION includes `__device__` when RDC is enabled. Since
the async algorithms use host-only futures and events, this causes builds
to fail. Making the async entry points regular `__host__` functions fixes
this.

This fixes NVIDIA#1050.
@alliepiper
Copy link
Collaborator Author

CI: 28424107

@alliepiper alliepiper merged commit aaa6fb7 into NVIDIA:master May 25, 2020
@alliepiper alliepiper deleted the bug/github/rdc_async_build_errors/1050 branch May 25, 2020 17:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warnings and errors when enabling RDC
2 participants