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

[BUG]: Radix sort test doesn't catch allocation exceptions #214

Closed
1 task done
gevtushenko opened this issue Jul 13, 2023 · 0 comments · Fixed by #222
Closed
1 task done

[BUG]: Radix sort test doesn't catch allocation exceptions #214

gevtushenko opened this issue Jul 13, 2023 · 0 comments · Fixed by #222
Assignees

Comments

@gevtushenko
Copy link
Collaborator

Is this a duplicate?

Type of Bug

Something else

Component

CUB

Describe the bug

Radix sort test checks available VRAM before attempting to test large problem sizes. Although the host memory requirements were recently reduced, the test still requires more host memory than the device one. We should rewrite the test in the same way the merge test is written:

try {
 // attempt to test on a large input
}
catch (std::bad_alloc &e) {
  // skip
}

How to Reproduce

Launch radix sort test with VRAM/RAM ratio < 1.

Expected behavior

Test should work on any system with supported GPU.

Reproduction link

No response

Operating System

No response

nvidia-smi output

No response

NVCC version

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant