You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix bug 5811173: update cufile tests and configuration (#1821)
* Fix bug 5811173: update cufile tests and configuration
test_cufile.py: skip compat bool params in set_get_parameter_bool
Avoid setting allow_compat_mode/force_compat_mode before driver_open; pending
values can be applied on first open and interact badly with cufile.json when
nvidia-fs is not loaded (DRIVER_NOT_INITIALIZED). Compat behavior remains
covered elsewhere.
cufile.json: Set allow_compat_mode to true
* cufile tests: snapshot parameter baselines after driver_open
Open driver once to read size_t/bool/string originals, then close before
set/get/restore round-trips so pending does not restore invalid pre-open
values (e.g. per-buffer cache 0). Aligns with review feedback.
* test(cufile): skip PROFILE_NVTX in bool param snapshot on cuFile >= 1.16
* test(cufile): factor driver open/close into _cufile_driver_session context manager
* test(cufile): use cufile_env_json for parameter round-trip tests
Attach cufile_env_json fixture to size_t, bool, and string parameter tests
so compat-related bools can be exercised before first driver_open without
relying on skipping allow_compat_mode/force_compat_mode on systems without
nvidia-fs (Ralf's patch).
0 commit comments