Skip to content

Commit

Permalink
[poisson] Allow using CSR format even if no accelerator is available.
Browse files Browse the repository at this point in the history
  • Loading branch information
grospelliergilles committed Nov 26, 2024
1 parent 1ada0fe commit 62a7e5b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions poisson/FemModule.cc
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,11 @@ _handleFlags()
m_use_legacy = false;
info() << "CSR: The CSR datastructure and its associated methods will be used";
}
#ifdef ARCANE_HAS_ACCELERATOR
if (parameter_list.getParameterOrNull("CSR_GPU") == "TRUE" || options()->csrGpu()) {
m_use_csr_gpu = true;
m_use_legacy = false;
info() << "CSR_GPU: The CSR datastructure GPU compatible and its associated methods will be used";
}
#endif
if (parameter_list.getParameterOrNull("NWCSR") == "TRUE" || options()->nwcsr()) {
m_use_nodewise_csr = true;
m_use_legacy = false;
Expand Down

0 comments on commit 62a7e5b

Please sign in to comment.