-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial creation of libcugraph_etl.so (#1885)
The new renumbering implementation will require C++ integration directly with cudf. In order to facilitate that, but also support our customers that won't need cudf, this PR will create a separate library (`libcugraph_etl.so`) which will ultimately link with `libcudf.so` and contain the ETL portions of cugraph that require cudf features. This way our other libcugraph customers that don't need to reference the new library will not need to install all of the cudf dependencies. To seed this, the PR also includes a proposed API for the new renumbering capability. Authors: - Chuck Hastings (https://github.com/ChuckHastings) - Rick Ratzel (https://github.com/rlratzel) Approvers: - Seunghwa Kang (https://github.com/seunghwak) - https://github.com/chirayuG-nvidia - Rick Ratzel (https://github.com/rlratzel) - Jordan Jacobelli (https://github.com/Ethyling) URL: #1885
- Loading branch information
1 parent
8096c53
commit e5b024e
Showing
13 changed files
with
492 additions
and
10 deletions.
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
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
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,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Copyright (c) 2021, NVIDIA CORPORATION. | ||
|
||
# This assumes the script is executed from the root of the repo directory | ||
|
||
./build.sh libcugraph_etl -v --allgpuarch |
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,48 @@ | ||
# Copyright (c) 2021, NVIDIA CORPORATION. | ||
|
||
# Usage: | ||
# conda build -c nvidia -c rapidsai -c conda-forge . | ||
{% set version = environ.get('GIT_DESCRIBE_TAG', '0.0.0.dev').lstrip('v') + environ.get('VERSION_SUFFIX', '') %} | ||
{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %} | ||
{% set cuda_version='.'.join(environ.get('CUDA', '9.2').split('.')[:2]) %} | ||
package: | ||
name: libcugraph_etl | ||
version: {{ version }} | ||
|
||
source: | ||
git_url: ../../.. | ||
|
||
build: | ||
number: {{ GIT_DESCRIBE_NUMBER }} | ||
string: cuda{{ cuda_version }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} | ||
script_env: | ||
- CC | ||
- CXX | ||
- CUDAHOSTCXX | ||
- PARALLEL_LEVEL | ||
- VERSION_SUFFIX | ||
- CCACHE_DIR | ||
- CCACHE_NOHASHDIR | ||
- CCACHE_COMPILERCHECK | ||
- CMAKE_GENERATOR | ||
- CMAKE_C_COMPILER_LAUNCHER | ||
- CMAKE_CXX_COMPILER_LAUNCHER | ||
- CMAKE_CUDA_COMPILER_LAUNCHER | ||
|
||
requirements: | ||
build: | ||
- cmake>=3.20.1 | ||
- cudatoolkit {{ cuda_version }}.* | ||
- cudf {{ minor_version }}.* | ||
- libcugraph {{ minor_version }}.* | ||
run: | ||
- {{ pin_compatible('cudatoolkit', max_pin='x.x') }} | ||
- libcugraph {{ minor_version }}.* | ||
- faiss-proc=*=cuda | ||
- libfaiss 1.7.0 *_cuda | ||
|
||
about: | ||
home: http://rapids.ai/ | ||
license: Apache-2.0 | ||
license_file: ../../../LICENSE | ||
summary: libcugraph_etl library |
Oops, something went wrong.