This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 757
Warnings and errors when enabling RDC #1050
Comments
The build will eventually error out as well:
|
alliepiper
added a commit
to alliepiper/thrust
that referenced
this issue
May 19, 2020
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
added a commit
that referenced
this issue
May 25, 2020
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.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There are a quite a few of these when compiling with RDC enabled.
The warning at
reduce.h:275
is caused byasync_reduce_into_n
being marked up withTHRUST_RUNTIME_FUNCTION
(includes__host__ __device__
when RDC is enabled), which calls the__host__
only functionmake_dependent_event
. The others are probably similar.The text was updated successfully, but these errors were encountered: