move hostcall-based implementation of messages/printf from rocm backend to the common device layer

SWDEV-232428

Change-Id: I14b774e66a1783569c6d34d8759c1faa5f340e27
Este commit está contenido en:
Aryan Salmanpour
2020-06-17 16:24:32 -04:00
cometido por Aryan Salmanpour
padre c9c4250bbe
commit 1bd265f8d6
Se han modificado 6 ficheros con 5 adiciones y 5 borrados
+2
Ver fichero
@@ -139,6 +139,8 @@ set(oclruntime_src
device/devkernel.cpp
device/devwavelimiter.cpp
device/devprogram.cpp
device/devhcprintf.cpp
device/devhcmessages.cpp
platform/activity.cpp
platform/kernel.cpp
platform/context.cpp
@@ -22,7 +22,7 @@
#include "top.hpp"
#include "utils/flags.hpp"
#include "rochcmessages.hpp"
#include "devhcmessages.hpp"
#include <vector>
@@ -132,7 +132,7 @@ void MessageHandler::discardMessage(Message* message) {
// some busy-ness heuristic.
}
// Defined in rochcprintf.cpp
// Defined in devhcprintf.cpp
void handlePrintf(uint64_t* output, const uint64_t* input, uint64_t len);
bool MessageHandler::handlePayload(uint32_t service, uint64_t* payload) {
-2
Ver fichero
@@ -11,8 +11,6 @@ add_library(oclrocm OBJECT
rocappprofile.cpp
rocsettings.cpp
rocschedcl.cpp
rochcmessages.cpp
rochcprintf.cpp
rochostcall.cpp
)
+1 -1
Ver fichero
@@ -23,7 +23,7 @@
#include "utils/flags.hpp"
#include "rochostcall.hpp"
#include "rochcmessages.hpp"
#include "device/devhcmessages.hpp"
#include "os/os.hpp"
#include "thread/monitor.hpp"