Files
compute-runtime/shared/source/os_interface/linux/ioctl_strings_upstream.cpp
Mateusz Jablonski 235f9be779 Move ioctl strings out of ioctl helper
In order to setup ioctl helper we need to call ioctl to get hw info

Related-To: NEO-6591

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-17 12:30:47 +01:00

23 lines
399 B
C++

/*
* Copyright (C) 2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include <string>
namespace NEO {
namespace IoctlToStringHelper {
std::string getIoctlStringRemaining(unsigned long request) {
return std::to_string(request);
}
std::string getIoctlParamStringRemaining(int param) {
return std::to_string(param);
}
} // namespace IoctlToStringHelper
} // namespace NEO