Updating kfd_ioctl.h 1.17 (#872)

The KFD minor version has been bumped to 17.
这个提交包含在:
Vladimir Indic
2024-05-28 17:26:18 +02:00
提交者 GitHub
父节点 987ae3cc47
当前提交 05890c2231
共修改 2 个文件,包含 24 行新增和 7 行删除
@@ -46,12 +46,12 @@ namespace ioctl
rocprofiler_ioctl_version_info_t&
get_ioctl_version();
// IOCTL 1.16 is the first one supporting PC sampling.
// IOCTL 1.17 is the first one supporting PC sampling.
#define CHECK_IOCTL_VERSION \
do \
{ \
auto ioctl_version = get_ioctl_version(); \
if(ioctl_version.major_version < 1 || ioctl_version.minor_version < 16) \
if(ioctl_version.major_version < 1 || ioctl_version.minor_version < 17) \
{ \
LOG(ERROR) << "PC sampling unavailable\n"; \
return ROCPROFILER_STATUS_ERROR_INCOMPATIBLE_KERNEL; \