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

Shadow warning in execute_with_dependencies #1980

Closed
hageboeck opened this issue Aug 15, 2023 · 0 comments · Fixed by NVIDIA/cccl#334
Closed

Shadow warning in execute_with_dependencies #1980

hageboeck opened this issue Aug 15, 2023 · 0 comments · Fixed by NVIDIA/cccl#334

Comments

@hageboeck
Copy link

Using cuda12, I observe a shadow warning in thrust.

The relevant code is here:

std::tuple<remove_cvref_t<Dependencies>...> dependencies;
public:
__host__
execute_with_dependencies(super_t const &super, Dependencies && ...dependencies)

Line 60 is shadowed by line 64. I guess a simple renaming would help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
1 participant