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

Conversation

@jaredhoberock
Copy link
Contributor

fixes #99

Define __THRUST_HOST_SYSTEM_ROOT to point at the host system's root directory.
Define __THRUST_DEVICE_SYSTEM_ROOT to point at the device system's root directory.
Define __THRUST_HOST_SYSTEM_NAMESPACE & __THRUST_DEVICE_SYSTEM_NAMESPACE.
Programmatically define thrust::host_system_tag and thrust::device_system_tag.
Introduce a header per algorithm per system, whether or not the system provides a specialization for the algorithm
Introduce thrust/system/detail/adl to hold ADL helper headers which computed #includes to find the host & device system headers.
Eliminate some causes of circular dependency in temporary_array.h.
Specifically, #include <thrust/detail/copy.h> in CUDA's cross_system_copy instead of <thrust/copy.h>.
jaredhoberock added a commit that referenced this pull request May 10, 2012
@jaredhoberock jaredhoberock merged commit 11c1abb into NVIDIA:master May 10, 2012
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.

The ADL helper headers should be finer granularity

1 participant