Skip to content

Replace direct inclusion of <cub/cub.cuh> with "core/providers/cuda/cu_inc/cub.cuh" wrapper.#28705

Merged
edgchen1 merged 1 commit into
mainfrom
edgchen1/use_cub_cuh_wrapper
May 28, 2026
Merged

Replace direct inclusion of <cub/cub.cuh> with "core/providers/cuda/cu_inc/cub.cuh" wrapper.#28705
edgchen1 merged 1 commit into
mainfrom
edgchen1/use_cub_cuh_wrapper

Conversation

@edgchen1
Copy link
Copy Markdown
Contributor

@edgchen1 edgchen1 commented May 28, 2026

Description

Replace direct inclusion of <cub/cub.cuh> with "core/providers/cuda/cu_inc/cub.cuh" wrapper. The wrapper accounts for a problematic macro definition which causes issues.

Motivation and Context

Fix pipeline build error.

@edgchen1 edgchen1 marked this pull request as ready for review May 28, 2026 21:14
@edgchen1 edgchen1 merged commit f1b1305 into main May 28, 2026
84 of 86 checks passed
@edgchen1 edgchen1 deleted the edgchen1/use_cub_cuh_wrapper branch May 28, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants