-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ksimpson/cuda_core_linker_155
- Loading branch information
Showing
32 changed files
with
243 additions
and
292 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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,36 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Function to generate environment.yml | ||
generate_environment_yml() { | ||
local python_version=$1 | ||
local cuda_version=$2 | ||
local output_path=$3 | ||
|
||
cat <<EOF > "${output_path}/environment.yml" | ||
name: cuda_python | ||
channels: | ||
- defaults | ||
- conda-forge | ||
dependencies: | ||
- python=${python_version} | ||
- cython | ||
- pytest | ||
- numpy | ||
- setuptools | ||
- wheel | ||
- pip | ||
- cuda-version=${cuda_version} | ||
- cuda-cudart-static | ||
- cuda-driver-dev | ||
- cuda-cudart-dev | ||
- cuda-profiler-api | ||
- cuda-nvrtc-dev | ||
- cuda-nvcc | ||
- pip: | ||
- pytest-benchmark | ||
- pyclibrary | ||
- versioneer==0.29 | ||
- tomli; python_version < "3.11" | ||
- pywin32; sys_platform == 'win32' | ||
EOF | ||
} |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.