From 4190cfda37a2dea080421d54687d9e3208469ef8 Mon Sep 17 00:00:00 2001 From: Nghia Truong Date: Sun, 13 Oct 2024 10:42:49 -0700 Subject: [PATCH] Test disabling kvikio Signed-off-by: Nghia Truong --- cpp/src/io/utilities/datasource.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cpp/src/io/utilities/datasource.cpp b/cpp/src/io/utilities/datasource.cpp index 0be976b6144..ec9a5ffe0a4 100644 --- a/cpp/src/io/utilities/datasource.cpp +++ b/cpp/src/io/utilities/datasource.cpp @@ -46,13 +46,13 @@ class file_source : public datasource { explicit file_source(char const* filepath) : _file(filepath, O_RDONLY) { detail::force_init_cuda_context(); - if (cufile_integration::is_kvikio_enabled()) { - _kvikio_file = kvikio::FileHandle(filepath); - CUDF_LOG_INFO("Reading a file using kvikIO, with compatibility mode {}.", - _kvikio_file.is_compat_mode_on() ? "on" : "off"); - } else { - _cufile_in = detail::make_cufile_input(filepath); - } + // if (cufile_integration::is_kvikio_enabled()) { + // _kvikio_file = kvikio::FileHandle(filepath); + // CUDF_LOG_INFO("Reading a file using kvikIO, with compatibility mode {}.", + // _kvikio_file.is_compat_mode_on() ? "on" : "off"); + // } else { + _cufile_in = detail::make_cufile_input(filepath); + // } } std::unique_ptr host_read(size_t offset, size_t size) override