Skip to content

CUDA 11.1 or earlier is no longer supported#9281

Merged
kmaehashi merged 5 commits into
cupy:mainfrom
Ellecee:ellecee
Aug 5, 2025
Merged

CUDA 11.1 or earlier is no longer supported#9281
kmaehashi merged 5 commits into
cupy:mainfrom
Ellecee:ellecee

Conversation

@Ellecee
Copy link
Copy Markdown
Contributor

@Ellecee Ellecee commented Aug 3, 2025

This is the fix for Issue #9074.

Since cupy no longer supports CUDA 11.1 or earlier, the #if checks from cupy/cupyx/scipy/signal/_upfirdn.py and cupy/cupyx/scipy/signal/_upfirdn.py have been removed.

Comment thread cupy/cuda/cupy_cub.h
Comment on lines -49 to -52
#if (defined(_MSC_VER) && (__CUDACC_VER_MAJOR__ == 11 && __CUDACC_VER_MINOR__ == 2))
#define __builtin_unreachable() __assume(false)
#endif

Copy link
Copy Markdown
Member

@kmaehashi kmaehashi Aug 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is required as we still support CUDA 11.2.

@kmaehashi kmaehashi self-assigned this Aug 4, 2025
@kmaehashi kmaehashi added cat:bug Bugs to-be-backported Pull-requests to be backported to stable branch prio:medium labels Aug 4, 2025
…_MINOR__ == 2)) block added back, needed for CUDA 11.2
@Ellecee Ellecee changed the title [WIP] CUDA 11.1 or earlier is no longer supported CUDA 11.1 or earlier is no longer supported Aug 5, 2025
@kmaehashi kmaehashi added this to the v14.0.0a2 milestone Aug 5, 2025
@kmaehashi
Copy link
Copy Markdown
Member

/test mini

@kmaehashi kmaehashi enabled auto-merge August 5, 2025 12:59
@kmaehashi kmaehashi linked an issue Aug 5, 2025 that may be closed by this pull request
@kmaehashi kmaehashi merged commit 63c15c6 into cupy:main Aug 5, 2025
65 checks passed
chainer-ci pushed a commit to chainer-ci/cupy that referenced this pull request Aug 5, 2025
CUDA 11.1 or earlier is no longer supported
@Ellecee Ellecee deleted the ellecee branch August 6, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat:bug Bugs prio:medium to-be-backported Pull-requests to be backported to stable branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

( __CUDACC_VER_MAJOR__ >= 11 ) && ( __CUDACC_VER_MINOR__ >= 2 )

2 participants