-
Notifications
You must be signed in to change notification settings - Fork 371
[STF] Add python bindings #5315
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
base: main
Are you sure you want to change the base?
Changes from 250 commits
b04cebf
9ed5ace
e27ef5b
d0f915e
6963ec0
06fab11
2fc802e
a43db62
9c07679
947bbcc
22b2d19
66bcde3
84534c8
acf0cce
6a6e84f
297a69b
533ca5a
9aa749f
b11aa4b
0af151f
746d308
d9195f5
f5ac828
454a5da
ccfbb6b
c6e7c07
842a651
00c649c
b0fc18d
3b257df
04cc07a
bce25b8
d9c5f11
70fa5d8
5587a8d
5ea5243
f7fbd34
aec2d71
eb71880
aaf6ec6
ae4c6d6
9029fda
ce7a33b
cbde742
1936db6
c91e814
3fe6178
666bd07
522b630
4315314
48627aa
410aadd
c87cdaa
02a9eb6
232133b
b60eb6b
c4c99f0
2f5925b
3417075
8c05034
20faa8f
d378f5a
8c5e760
78dc197
2eb2ace
6557067
60266ff
59f1983
c7fa9e6
97dd6f7
1610f0b
4383eaf
101fd0b
4db210b
90a8d20
f2d7528
ac667ca
5bf62b3
c0a54f1
4573f9f
abc58d8
af43da5
c00c915
cdd0d85
afda29f
4f1f079
ccfc41d
e4b8277
6931fa8
a1a1139
a3071f7
ecd9f4e
4b2ae75
5881081
4eef870
dcb3d39
1284eb2
0514f29
5e9b4d5
53a4542
989f58b
93055c0
218fda2
1f97482
1e482a4
7a58d68
9fb1c26
5c1d50e
9f31b1e
c0bb070
7094dd5
76d78b4
e03b062
0c11b6a
f6c50e1
efea184
c0d3592
eba61eb
e17c261
ec9c955
52f4823
5a32881
abd5778
80e1085
865cf7b
4c1551a
77d6af1
acc8f49
de333b2
3834c8f
9a5c265
9932a24
e7e2adb
39040a9
8f27fa2
73ac963
d90ed64
eb77519
b38ff80
0a3e667
8642fdd
2a75766
0f9865d
6466347
cfb2930
130ee2a
4bb4d23
b8c745e
fb2a3ba
6c2f850
da2e1aa
852b400
9308af5
09913dc
237b2c1
dd6cc26
ac148e8
5fedcfb
1fa449f
9839495
65155d1
1cce4d4
1dbfd64
5545ffb
291e00c
3a12081
4b54abc
97d9b8b
5f950c4
8727b24
f4c8800
ac980ec
4821ebd
8559e8c
698739e
4d73287
97ae928
6903af7
99655d3
096ea44
08fa67d
5145dff
cd51231
5245067
c055d52
79be7ec
606896d
da0487e
0fd485a
9d8ed4b
d9b1ca5
f78290a
da27328
f22aa6b
e4bafa9
a0c8227
2e63918
b21d930
de6f2f8
2f89cc1
1df9b9b
97ef675
16e8eec
9fc3250
a516a2e
ae43907
64cf200
b7abbac
daae555
0089958
201e198
96c2421
f6d5c2a
664f61d
5d735d7
5f0b044
cf7c11e
2570bae
62404a6
c7b6aab
b0df198
1f9b89a
94bdd96
832fd76
52fb401
5156a03
7993f55
113276c
5f12cca
961ae8b
7bbb57c
04f3d6c
3553134
dc78d7d
779153f
6cf5276
4f6d518
223c74d
fca46b0
a94034a
d3baa83
c662728
157c772
9b7676a
95af444
f491332
03ed80e
2f4a651
a4a001c
443adbc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| cmake_minimum_required(VERSION 3.21) | ||
|
|
||
| project(CCCL_C_EXPERIMENTAL_STF LANGUAGES CUDA CXX C) | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. are we sure ? |
||
| project(CCCL_C_EXPERIMENTAL_STF LANGUAGES CUDA CXX) | ||
|
|
||
| option( | ||
| CCCL_C_EXPERIMENTAL_STF_ENABLE_TESTING | ||
|
|
||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changes in the C API were moved to a separate PR (#7567) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| #!/bin/bash | ||
|
|
||
| set -euo pipefail | ||
|
|
||
| ci_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
| source "$ci_dir/pyenv_helper.sh" | ||
|
|
||
| # Parse common arguments | ||
| source "$ci_dir/util/python/common_arg_parser.sh" | ||
| parse_python_args "$@" | ||
| cuda_major_version=$(nvcc --version | grep release | awk '{print $6}' | tr -d ',' | cut -d '.' -f 1 | cut -d 'V' -f 2) | ||
|
|
||
| # Setup Python environment | ||
| setup_python_env "${py_version}" | ||
|
|
||
| # Fetch or build the cuda_cccl wheel: | ||
| if [[ -n "${GITHUB_ACTIONS:-}" ]]; then | ||
| wheel_artifact_name=$("$ci_dir/util/workflow/get_wheel_artifact_name.sh") | ||
| "$ci_dir/util/artifacts/download.sh" ${wheel_artifact_name} /home/coder/cccl/ | ||
| else | ||
| "$ci_dir/build_cuda_cccl_python.sh" -py-version "${py_version}" | ||
| fi | ||
|
|
||
| # Install cuda_cccl | ||
| CUDA_CCCL_WHEEL_PATH="$(ls /home/coder/cccl/wheelhouse/cuda_cccl-*.whl)" | ||
| python -m pip install "${CUDA_CCCL_WHEEL_PATH}[test-cu${cuda_major_version}]" | ||
|
|
||
| # Run tests for STF module | ||
| cd "/home/coder/cccl/python/cuda_cccl/tests/" | ||
| python -m pytest -n auto -v stf/ |
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Moved changes to #7972 |
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Moved to #7972 |
Uh oh!
There was an error while loading. Please reload this page.