O_DIRECT is the only supported mode before CUDA toolkit 12.2 (GDS version 1.7). CUDA 12.2 (GDS version 1.7) introduces support for non O_DIRECT file descriptors as well. The rest of this guide is still relevant for applications depending upon GDS benefits by expressing intent to use O_DIRECT file mode.
It is very helpful improvement, and I want to drop the O_DIRECT flag from my application if it is executed on the system that installs GDS version 1.7 or newer.
On the other hands, our environment based on CUDA 12.2 says CUfileDrvProps.nvfs.major_version = 2 and CUfileDrvProps.nvfs.minor_version = 17. It looks different series of the versioning.
(Probably, it is nvidia-fs kmod version because /proc/driver/nvidia-fs/version shows the identical version number.)
Where can I get the version number to determine O_DIRECT necessity?
According to the O_DIRECT Requirements Guide, it says:
It is very helpful improvement, and I want to drop the
O_DIRECT
flag from my application if it is executed on the system that installs GDS version 1.7 or newer.On the other hands, our environment based on CUDA 12.2 says
CUfileDrvProps.nvfs.major_version = 2
andCUfileDrvProps.nvfs.minor_version = 17
. It looks different series of the versioning. (Probably, it isnvidia-fs
kmod version because/proc/driver/nvidia-fs/version
shows the identical version number.)Where can I get the version number to determine
O_DIRECT
necessity?Best regards,