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

Add ability to place Thrust in a custom namespace. #1464

Merged
merged 1 commit into from
Jul 19, 2021

Commits on Jul 16, 2021

  1. Add ability to place Thrust in a custom namespace.

    This provides a workaround for downstream projects that encounter
    a variety of issues from dynamically linking multiple libraries that
    use Thrust.
    
    See the new `thrust/detail/config/namespace.h` header for details.
    
    Added several tests and checks to validate that this behavior is correct,
    and the `__THRUST_DEFINE_HAS_MEMBER_FUNCTION` utility has been rewritten
    to WAR an nvcc bug when the old implementation was used with objects in
    an anonymous namespace.
    
    New tests:
      - testing/namespace_wrapped.cu
      - testing/cmake/check_namespace.cmake
    alliepiper committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    363c352 View commit details
    Browse the repository at this point in the history