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:
cometido por
Aryan Salmanpour
padre
c9c4250bbe
commit
1bd265f8d6
@@ -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) {
|
||||
@@ -11,8 +11,6 @@ add_library(oclrocm OBJECT
|
||||
rocappprofile.cpp
|
||||
rocsettings.cpp
|
||||
rocschedcl.cpp
|
||||
rochcmessages.cpp
|
||||
rochcprintf.cpp
|
||||
rochostcall.cpp
|
||||
)
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Referencia en una nueva incidencia
Block a user