mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
fix: Reduce code duplicity by reusing closeConnection
Related-To: NEO-11188 Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8c1f0836ae
commit
c5a76cac3a
@@ -27,8 +27,6 @@ struct DebugSessionLinuxXe : DebugSessionLinux {
|
||||
|
||||
ze_result_t initialize() override;
|
||||
|
||||
bool closeConnection() override;
|
||||
|
||||
struct IoctlHandlerXe : DebugSessionLinux::IoctlHandler {
|
||||
int ioctl(int fd, unsigned long request, void *arg) override {
|
||||
int ret = 0;
|
||||
@@ -85,10 +83,6 @@ struct DebugSessionLinuxXe : DebugSessionLinux {
|
||||
static void *asyncThreadFunction(void *arg);
|
||||
void handleEventsAsync();
|
||||
|
||||
void cleanRootSessionAfterDetach(uint32_t deviceIndex) override {
|
||||
UNRECOVERABLE_IF(true);
|
||||
}
|
||||
|
||||
int openVmFd(uint64_t vmHandle, bool readOnly) override;
|
||||
int flushVmCache(int vmfd) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user