Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Span-to-c-array copy function ignores stream of choice, acts synchronously #709

Open
eyalroz opened this issue Jan 26, 2025 · 0 comments
Open

Comments

@eyalroz
Copy link
Owner

eyalroz commented Jan 26, 2025

The function:

template <typename T, size_t N>
inline void copy(span<T> destination, c_array<const T,N> const& source, optional_ref<const stream_t> stream = {})

was failing to pass the stream onwards to an underlying copy function - thus forcing synchronous behavior.

@eyalroz eyalroz added the bug label Jan 26, 2025
@eyalroz eyalroz self-assigned this Jan 26, 2025
eyalroz pushed a commit that referenced this issue Jan 26, 2025
…tream parameter to an underlying copy function
@eyalroz eyalroz reopened this Jan 26, 2025
eyalroz pushed a commit that referenced this issue Jan 26, 2025
…tream parameter to an underlying copy function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant