Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add maximum limit for grid of reduce, elementwise and masked_select kernel #37355

Closed

Conversation

FlyingQianMM
Copy link
Contributor

@FlyingQianMM FlyingQianMM commented Nov 19, 2021

PR types

Bug fixes

PR changes

APIs

Describe

The grid number of reduce、elementwise and masked_select has not been limited, which may raise a bug like:

:parallel_for failed: cudaErrorInvalidConfiguration: invalid configuration argument. 

So we add a maximum limit for grid of reduce, elementwise and masked_select kernel.

@paddle-bot-old
Copy link

paddle-bot-old bot commented Nov 19, 2021

✅ This PR's description meets the template requirements!
Please wait for other CI results.

@CLAassistant
Copy link

CLAassistant commented Nov 19, 2021

CLA assistant check
All committers have signed the CLA.

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@FlyingQianMM FlyingQianMM changed the title add maximum limit for grid of elementwise and masked_select kernel;te… add maximum limit for grid of reduceelementwise and masked_select kernel Nov 19, 2021
@FlyingQianMM FlyingQianMM changed the title add maximum limit for grid of reduceelementwise and masked_select kernel add maximum limit for grid of reduce, elementwise and masked_select kernel Nov 19, 2021
thisjiang
thisjiang previously approved these changes Nov 19, 2021
Copy link
Contributor

@thisjiang thisjiang left a comment

Choose a reason for hiding this comment

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

LGTM

@paddle-bot-old
Copy link

paddle-bot-old bot commented Dec 3, 2021

Sorry to inform you that df043ba's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

@FlyingQianMM
Copy link
Contributor Author

该pr已经重新提到pr #38903

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.

4 participants