SWDEV-232428 - Push hostcall implementation to the device layer

This change unifies the hostcall implementation for all the backends,
by pushing the common logic to the device layer. This is done by
replacing the use of hsa_signal_t with device::Signal (a light wrapper
around it).

Change-Id: I7b6fca7930b5a0b199da5d85e2e048354cc04e7b
Ta zmiana jest zawarta w:
%! (template.HTML=Vladislav Sytchenko)złożyło 2021-02-16 17:19:57 -05:00
1 rodzic c65be06c4c
złożenie 671778bdd3
13 plików zmienionych
+234 -31

Żadne pliki nie pasują do Twojego wyszukiwania

+1 -1
Wyświetl plik
@@ -18,6 +18,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. */
#include "device/devhostcall.hpp"
#include "device/rocm/rocdevice.hpp"
#include "device/rocm/rocvirtual.hpp"
#include "device/rocm/rockernel.hpp"
@@ -30,7 +31,6 @@
#include "platform/command_utils.hpp"
#include "platform/memory.hpp"
#include "platform/sampler.hpp"
#include "rochostcall.hpp"
#include "utils/debug.hpp"
#include "os/os.hpp"
#include "amd_hsa_kernel_code.h"