After download code from https://github.com/GPUOpen-LibrariesAndSDKs/MxGPU-Virtualization, I try to compile MxGPU-Virtualization-master source on my CentOS 7.3 host, but got an error. Do I need to change the kernel of hostos?
[root@myhost drv]# uname -r 3.10.0-514.el7.x86_64 [root@myhost drv]# make make -C /lib/modules/3.10.0-514.el7.x86_64/build M=/home/astute/zwj/MxGPU-Virtualization-master/drv modules make[1]: Entering directory `/usr/src/kernels/3.10.0-514.el7.x86_64' CC [M] /home/astute/zwj/MxGPU-Virtualization-master/drv/gim_file.o /home/astute/zwj/MxGPU-Virtualization-master/drv/gim_file.c: In function ‘file_truncate’: /home/astute/zwj/MxGPU-Virtualization-master/drv/gim_file.c:87:2: error: too few arguments to function ‘notify_change’ ret = notify_change(file->f_path.dentry, &newattrs); ^ In file included from /home/astute/zwj/MxGPU-Virtualization-master/drv/gim_file.c:23:0: include/linux/fs.h:2579:12: note: declared here extern int notify_change(struct dentry *, struct iattr *, struct inode **); ^ make[2]: *** [/home/astute/zwj/MxGPU-Virtualization-master/drv/gim_file.o] Error 1 make[1]: *** [_module_/home/astute/zwj/MxGPU-Virtualization-master/drv] Error 2 make[1]: Leaving directory `/usr/src/kernels/3.10.0-514.el7.x86_64' make: *** [all] Error 2
_______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx