Skip to content

Cherry-pick "[RUNTIME] Implement dynamic loading with defineGetFunctionHandle for CUDA version compatibility (#2771)"#2789

Merged
malfet merged 1 commit intotriton-lang:release/2.2.xfrom
davidberard98:cherry-pick-2771
Dec 13, 2023
Merged

Cherry-pick "[RUNTIME] Implement dynamic loading with defineGetFunctionHandle for CUDA version compatibility (#2771)"#2789
malfet merged 1 commit intotriton-lang:release/2.2.xfrom
davidberard98:cherry-pick-2771

Conversation

@davidberard98
Copy link
Copy Markdown
Contributor

This is needed for CUDA 11 support, which we'd like to have in the PyTorch 2.2 release.

Original commit message:

In case cuda 11 drivers are still used on some systems, we shouldn't call TMA and block cluster related functions directly. Instead, we can dynamically lookup the handles to avoid compatibility issues.

…onHandle for CUDA version compatibility (triton-lang#2771)"

This is needed for CUDA 11 support, which we'd like to have in the PyTorch 2.2 release.

Original commit message:

In case cuda 11 drivers are still used on some systems, we shouldn't
call TMA and block cluster related functions directly. Instead, we can
dynamically lookup the handles to avoid compatibility issues.
@davidberard98 davidberard98 marked this pull request as ready for review December 12, 2023 21:53
@malfet malfet merged commit e28a256 into triton-lang:release/2.2.x Dec 13, 2023
pingzhuu pushed a commit to siliconflow/triton that referenced this pull request Apr 2, 2024
…onHandle for CUDA version compatibility (triton-lang#2771)" (triton-lang#2789)

This is needed for CUDA 11 support, which we'd like to have in the
PyTorch 2.2 release.

Original commit message:

In case cuda 11 drivers are still used on some systems, we shouldn't
call TMA and block cluster related functions directly. Instead, we can
dynamically lookup the handles to avoid compatibility issues.

Co-authored-by: Keren Zhou <kerenzhou@openai.com>
@atalman atalman mentioned this pull request May 14, 2024
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.

5 participants