diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2018-08-13 22:58:44 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2018-08-13 22:58:44 +0200 |
commit | bf43dbb4ee076ad74ea330fe87e457d20e297735 (patch) | |
tree | 515498d33951368cf997c5bf1790e6bea458b5cf /src/routines/level2 | |
parent | 3115c15db5a3b8fae0e9788cbcadaba91920af3c (diff) |
Made last operation in TRSV and TRSM asynchronous, making the events not null
Diffstat (limited to 'src/routines/level2')
-rw-r--r-- | src/routines/level2/xtrsv.cpp | 2 | ||||
-rw-r--r-- | src/routines/level2/xtrsv.hpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/routines/level2/xtrsv.cpp b/src/routines/level2/xtrsv.cpp index a87c5410..2a5a5664 100644 --- a/src/routines/level2/xtrsv.cpp +++ b/src/routines/level2/xtrsv.cpp @@ -154,7 +154,7 @@ void Xtrsv<T>::DoTrsv(const Layout layout, const Triangle triangle, } // Retrieves the results - x_buffer.CopyTo(queue_, x_size, b_buffer); + x_buffer.CopyToAsync(queue_, x_size, b_buffer, event_); } // ================================================================================================= diff --git a/src/routines/level2/xtrsv.hpp b/src/routines/level2/xtrsv.hpp index 798df792..8a900a35 100644 --- a/src/routines/level2/xtrsv.hpp +++ b/src/routines/level2/xtrsv.hpp @@ -32,6 +32,7 @@ class Xtrsv: public Xgemv<T> { using Xgemv<T>::device_; using Xgemv<T>::db_; using Xgemv<T>::program_; + using Xgemv<T>::event_; using Xgemv<T>::DoGemv; // Constructor |