diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2018-05-27 12:03:32 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2018-05-27 12:03:32 +0200 |
commit | 53198121acae87ed4e212f63579f3f5259a80bf3 (patch) | |
tree | 70b1a8b619e0e89fe653f4fe65fb3c0a929d63c3 /src/routines/levelx/xinvert.cpp | |
parent | 8e28a7699d73f24cb05c87a2b67c3690d64e3e11 (diff) |
Made FillMatrix and FillVector functions take a configurable local workgroup size
Diffstat (limited to 'src/routines/levelx/xinvert.cpp')
-rw-r--r-- | src/routines/levelx/xinvert.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/routines/levelx/xinvert.cpp b/src/routines/levelx/xinvert.cpp index a5ef9e10..d851e0b9 100644 --- a/src/routines/levelx/xinvert.cpp +++ b/src/routines/levelx/xinvert.cpp @@ -75,8 +75,9 @@ void Xinvert<T>::InvertMatrixDiagonalBlocks(const Layout layout, const Triangle // Fills the output buffer with zeros auto event_wait_list = std::vector<Event>(); auto fill_matrix_event = Event(); - FillMatrix(queue_, device_, program_, db_, fill_matrix_event.pointer(), event_wait_list, - block_size, num_blocks * block_size, block_size, 0, dest, ConstantZero<T>()); + FillMatrix(queue_, device_, program_, fill_matrix_event.pointer(), event_wait_list, + block_size, num_blocks * block_size, block_size, 0, dest, ConstantZero<T>(), + 16); event_wait_list.push_back(fill_matrix_event); // Inverts the diagonal IB by IB inner blocks of the matrix: one block per work-group |