Skip to content

Commit 4aa585e

Browse files
authored
Merge pull request #2 from gjbex/development
Sanitize conda environments
2 parents 59ea1ea + bfea44e commit 4aa585e

22 files changed

+3403
-1605
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,6 @@ dmypy.json
132132
*.swp
133133
*~
134134
*.bak
135+
136+
# direnv configuration file
137+
.envrc

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,16 @@ For information on the training, see the website
1010

1111
1. [`source-code`](source-code): sample code written to develop the slides and
1212
illustrate concepts.
13-
1. [`environment.yml`](environment.yml): conda environment file intended to be
14-
cross-platform.
1513
1. [`python_on_gpus_science_linux64_conda_specs.txt`](python_on_gpus_linux64_conda_specs.txt):
1614
conda environment specification file specific for 64-bit Linux to precisely
1715
reproduce the environment on which the code was developed.
1816
1. [License](LICENSE): license information for the material in this repository.
1917
1. [Contributing](CONTRIBUTING.md): information on how to contribute to this
2018
repository.
2119
1. docs: directory containing the website for this repository.
20+
21+
22+
## Environment setup
23+
24+
Each of the subdirectories of the `source-code` directory contains an `environment.yml`
25+
file that can be used to create a conda environment with the necessary packages.

environment.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

source-code/README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ Sample code for performing computations on a GPU.
55

66
## What is it?
77

8-
1. `pycuda.ipynb`: jupyter notebook illustrating pyCUDA.
9-
1. `curand.ipynb`: jupyter notebook illustrating generating random
10-
numbers on a GPU.
11-
1. `scikit_cuda.ipynb`: jupyter notebook illustrating linear algebra
12-
on a GPU device.
13-
1. `numba.ipynb`: jupyter notebook illustrating using numba for
14-
GPU computing.
8+
1. `pycuda`: directory illustrating pyCUDA.
9+
1. `scikit_cuda`: code illustrating linear algebra on a GPU device. This is an
10+
older library and has been at least partially superceded by CuPy.
11+
1. `numba`: code illustrating using numba for GPU computing.
12+
1. `cupy`: Jupyter notebook illustrating some aspects of the `cupy` package.

source-code/cupy/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# CuPy
2+
3+
CuPy serves as a "drop-in" replacement for numpy and (some) scipy with GPU support.
4+
5+
6+
## What is it?
7+
8+
1. `environment.yml`: conda environment file specifying all dependencies
9+
required to run the code.
10+
1. `cupy.ipynb`: Jupyter notebook illustrating how to use CuPy to perform
11+
computations on a GPU.

0 commit comments

Comments
 (0)