move hostcall-based implementation of messages/printf from rocm backend to the common device layer
SWDEV-232428 Change-Id: I14b774e66a1783569c6d34d8759c1faa5f340e27
This commit is contained in:
committed by
Aryan Salmanpour
parent
c9c4250bbe
commit
1bd265f8d6
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user