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

[GpuGraph] add enforce in alloc and free #27

Merged
merged 2 commits into from
Jun 13, 2022

Conversation

Thunderbrook
Copy link
Collaborator

PR types

Others

PR changes

Others

Describe

cub::CachingDeviceAllocator由于未打开宏CUB_STDERR,导致在显存分配失败时不会报错;
在alloc和free时增加enforce使得在显存分配失败时报错

@Thunderbrook Thunderbrook merged commit 77b007e into xuewujiao:gpugraph Jun 13, 2022
lxsbupt pushed a commit to lxsbupt/Paddle that referenced this pull request Dec 17, 2022
* solve int overflow

* enforce for alloc and free
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