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

Don't specialize is_system_tag for host_system_tag when compiling for device #1691

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions thrust/iterator/detail/host_system_tag.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ THRUST_NAMESPACE_BEGIN

typedef thrust::system::__THRUST_HOST_SYSTEM_NAMESPACE::tag host_system_tag;

#if THRUST_HOST_SYSTEM != THRUST_DEVICE_SYSTEM
namespace detail {

template <>
Expand All @@ -35,5 +36,6 @@ struct is_system_tag<host_system_tag>
{};

}
#endif

THRUST_NAMESPACE_END