-
Notifications
You must be signed in to change notification settings - Fork 352
Closed
Labels
thrustFor all items related to Thrust.For all items related to Thrust.
Description
Is this a duplicate?
- I confirmed there appear to be no duplicate issues for this bug and that I agree to the Code of Conduct
Type of Bug
Something else
Component
Thrust
Describe the bug
Using cuda12, I observe a shadow warning in thrust.
The relevant code is here:
https://github.com/NVIDIA/thrust/blob/24486a169a62a58ef8f824d3dc9613c006b6f5a7/thrust/detail/execute_with_dependencies.h#L60-L64
Line 60 is shadowed by line 64. I guess a simple renaming would help.
How to Reproduce
Compile thrust with all warnings enabled.
Expected behavior
No warnings of course
Reproduction link
No response
Operating System
Alma8
nvidia-smi output
No response
NVCC version
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Fri_Jan__6_16:45:21_PST_2023
Cuda compilation tools, release 12.0, V12.0.140
Build cuda_12.0.r12.0/compiler.32267302_0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
thrustFor all items related to Thrust.For all items related to Thrust.
Type
Projects
Status
Done