Skip to content

Commit

Permalink
Merge pull request karpathy#50 from hughperkins/master
Browse files Browse the repository at this point in the history
Updated readme for opencl usage
  • Loading branch information
karpathy committed Jun 29, 2015
2 parents ea80683 + 9820d2c commit d3a8346
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,20 @@ $ luarocks install nngraph
$ luarocks install optim
```

If you'd like to use GPU computing, you'll first need to install the [CUDA Toolkit](https://developer.nvidia.com/cuda-toolkit), then the `cutorch` and `cunn` packages:
If you'd like to use CUDA GPU computing, you'll first need to install the [CUDA Toolkit](https://developer.nvidia.com/cuda-toolkit), then the `cutorch` and `cunn` packages:

```bash
$ luarocks install cutorch
$ luarocks install cunn
```

If you'd like to use OpenCL GPU computing, you'll first need to install the `cltorch` and `clnn` packages, and then use the option `-opencl 1` during training:

```bash
$ luarocks install cltorch
$ luarocks install clnn
```

## Usage

### Data
Expand Down

0 comments on commit d3a8346

Please sign in to comment.