Skip to content

Commit

Permalink
Test disabling kvikio
Browse files Browse the repository at this point in the history
Signed-off-by: Nghia Truong <[email protected]>
  • Loading branch information
ttnghia committed Oct 13, 2024
1 parent 8dfa8dd commit 4190cfd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cpp/src/io/utilities/datasource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<buffer> host_read(size_t offset, size_t size) override
Expand Down

0 comments on commit 4190cfd

Please sign in to comment.