Skip to content

Commit

Permalink
CUDF_CUFILE_FOUND
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleFromNVIDIA committed Nov 12, 2024
1 parent f35db25 commit ccda642
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ target_compile_definitions(cudf PRIVATE $<$<BOOL:${CUDF_KVIKIO_REMOTE_IO}>:CUDF_

# Enable cuFile support
if(TARGET CUDA::cuFile)
target_compile_definitions(cudf PRIVATE CUFILE_FOUND)
target_compile_definitions(cudf PRIVATE CUDF_CUFILE_FOUND)
endif()

# Compile stringified JIT sources first
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/io/utilities/file_io_utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ file_wrapper::file_wrapper(std::string const& filepath, int flags, mode_t mode)

file_wrapper::~file_wrapper() { close(fd); }

#ifdef CUFILE_FOUND
#ifdef CUDF_CUFILE_FOUND

/**
* @brief Class that dynamically loads the cuFile library and manages the cuFile driver.
Expand Down
4 changes: 2 additions & 2 deletions cpp/src/io/utilities/file_io_utilities.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#pragma once

#ifdef CUFILE_FOUND
#ifdef CUDF_CUFILE_FOUND
#include <cudf_test/file_utilities.hpp>

#include <BS_thread_pool.hpp>
Expand Down Expand Up @@ -97,7 +97,7 @@ class cufile_output {
virtual std::future<void> write_async(void const* data, size_t offset, size_t size) = 0;
};

#ifdef CUFILE_FOUND
#ifdef CUDF_CUFILE_FOUND

class cufile_shim;

Expand Down

0 comments on commit ccda642

Please sign in to comment.