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

Extend the HEEV threshold to 5000 #142

Open
wants to merge 1 commit into
base: hydrogen
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/hydrogen/device/cuSOLVER_API.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
// exactly performance should fall off. The asymptotics of the Jacobi
// method aren't as favorable as QR, but for small matrices, it should
// have some benefit.
#define CUSOLVER_HEEV_JACOBI_THRESHOLD 1024
#define CUSOLVER_HEEV_JACOBI_THRESHOLD 5000
// This is set up to graciously handle matrix sizes up to 4096, but I was
// noticing an application was doing (2^k + 1). And if I'm going to put
// "4097" as a magic number, I may as well just round up.

namespace hydrogen
{
Expand Down