examples: Fix deprecation warnings with CUDA 13.1+ by stotko · Pull Request #482 · stotko/stdgpu · GitHub
Skip to content

examples: Fix deprecation warnings with CUDA 13.1+ - #482

Merged
stotko merged 1 commit into
masterfrom
cuda_13_1_deprecation
Apr 10, 2026
Merged

stotko merged 1 commit into
masterfrom
cuda_13_1_deprecation

Conversation

@stotko

@stotko stotko commented Apr 10, 2026

Copy link
Copy Markdown
Owner

In thrust 3.1 (bundled with CUDA 13.1), the functors defined in functional.h were deprecated in favor of the C++ standard conforming version provided in libcudacxx. This results in warnings thrown when building the examples. Fix these warnings while ensuring backwards compatibility with older CUDA versions.

@stotko stotko added this to the 2.0.0 milestone Apr 10, 2026
@stotko
stotko force-pushed the cuda_13_1_deprecation branch from 90ae71c to d519ea5 Compare April 10, 2026 07:28
@codecov

codecov Bot commented Apr 10, 2026 •

Copy link
Copy Markdown

@stotko
stotko merged commit 0bebd1f into master Apr 10, 2026
61 checks passed
@stotko
stotko deleted the cuda_13_1_deprecation branch April 10, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant