Skip to content

add support for setting sm count in nvcuda backend#384

Draft
benvanwerkhoven wants to merge 1 commit into
masterfrom
tune_sm_counts
Draft

add support for setting sm count in nvcuda backend#384
benvanwerkhoven wants to merge 1 commit into
masterfrom
tune_sm_counts

Conversation

@benvanwerkhoven
Copy link
Copy Markdown
Collaborator

Very experimental, but the idea is to be able to tune the active SM percentage in combination with other parameters. This can be controlled in CUDA using "Green Contexts". It is relatively involved to setup, so I have only implemented it in the cuda-python backend as of now.

The idea is that this parameter is interesting for energy efficiency tuning. In particular bandwidth bound kernels may disable some SMs to reduce energy use of cores that are idling most of the time anyway.

We could extend it to other CUDA backends as well probably.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 4, 2026

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.

1 participant