-
Notifications
You must be signed in to change notification settings - Fork 915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KvikIO as an alternative GDS backend #10593
Merged
rapids-bot
merged 16 commits into
rapidsai:branch-22.06
from
madsbk:add_kvikio_as_gds_backend
Apr 20, 2022
Merged
Changes from 4 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
2de5267
cmake: rapids_cpm_find() KvikIO
madsbk 24b98f4
Adding KvikIO as a possible GDS backend
madsbk 405b1fc
copyrights
madsbk ab8aeb0
Adding KvikIO as backend for `file_sink`
madsbk 7e79d2c
use _kvikio_file.closed() instead of _use_kvikio
madsbk bcb0a8a
Linking to kvikio::kvikio
madsbk 6f0b184
use cufile_input_impl::read_async and cufile_output_impl::write_async
madsbk e01fde2
Merge branch 'branch-22.06' of github.com:rapidsai/cudf into add_kvik…
madsbk 8d277fc
Removed duplicated exceptions
madsbk 84986d1
get_kvikio: use https://github.com/rapidsai/kvikio.git
madsbk a8cab3c
Clean up
madsbk 79965f4
style: clang format
madsbk ceced36
Merge branch 'branch-22.06' of github.com:rapidsai/cudf into add_kvik…
madsbk fad1055
doc
madsbk a4aa99f
more doc
madsbk 1a6341e
typo
madsbk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# ============================================================================= | ||
# Copyright (c) 2022, NVIDIA CORPORATION. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | ||
# in compliance with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software distributed under the License | ||
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | ||
# or implied. See the License for the specific language governing permissions and limitations under | ||
# the License. | ||
# ============================================================================= | ||
|
||
# This function finds KvikIO and sets `KvikIO_INCLUDE_DIR` | ||
function(find_and_configure_kvikio VERSION) | ||
|
||
rapids_cpm_find( | ||
KvikIO ${VERSION} | ||
GLOBAL_TARGETS kvikio::kvikio | ||
CPM_ARGS | ||
GIT_REPOSITORY https://github.com/madsbk/kvikio.git | ||
# GIT_REPOSITORY https://github.com/rapidsai/kvikio.git TODO: use this before merge of PR | ||
GIT_TAG used_by_cudf_for_testing | ||
# GIT_TAG branch-${VERSION} TODO: use this before merge of PR | ||
madsbk marked this conversation as resolved.
Show resolved
Hide resolved
|
||
GIT_SHALLOW TRUE SOURCE_SUBDIR cpp | ||
OPTIONS "KvikIO_BUILD_EXAMPLES OFF" | ||
madsbk marked this conversation as resolved.
Show resolved
Hide resolved
|
||
) | ||
|
||
set(KvikIO_INCLUDE_DIR | ||
${KvikIO_SOURCE_DIR}/cpp/include | ||
PARENT_SCOPE | ||
) | ||
|
||
endfunction() | ||
|
||
set(KVIKIO_MIN_VERSION_cudf "${CUDF_VERSION_MAJOR}.${CUDF_VERSION_MINOR}") | ||
find_and_configure_kvikio(${KVIKIO_MIN_VERSION_cudf}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of this we should link to the
kvikio::kvikio
target, and removeKvikIO_INCLUDE_DIR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in bcb0a8a, is this sufficient?
Can I ask you to take a look at KvikIO's CMakefile also and see if I am doing the right thing? I am still a novice when it comes to cmake :)