Formatting changes

This commit is contained in:
Tong Dong Qiu 2021-11-30 16:05:58 +01:00
parent 0881089406
commit e0a4d271ea
2 changed files with 267 additions and 265 deletions

View File

@ -47,6 +47,7 @@ BILU0<block_size>::BILU0(ILUReorder opencl_ilu_reorder_, int verbosity_) :
#endif
}
template <unsigned int block_size>
BILU0<block_size>::~BILU0()
{
@ -61,6 +62,7 @@ void BILU0<block_size>::init(int Nb, int nnzb, std::shared_ptr<cl::Context>& con
queue = queue_.get();
}
template <unsigned int block_size>
bool BILU0<block_size>::analyze_matrix(BlockedMatrix *mat)
{
@ -172,7 +174,6 @@ void BILU0<block_size>::init(int Nb, int nnzb, std::shared_ptr<cl::Context>& con
} // end init()
template <unsigned int block_size>
bool BILU0<block_size>::create_preconditioner(BlockedMatrix *mat)
{
@ -266,6 +267,7 @@ void BILU0<block_size>::init(int Nb, int nnzb, std::shared_ptr<cl::Context>& con
return true;
} // end create_preconditioner()
// kernels are blocking on an NVIDIA GPU, so waiting for events is not needed
// however, if individual kernel calls are timed, waiting for events is needed
// behavior on other GPUs is untested