Skip to content

Commit

Permalink
feat: snarkos enable cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
maxvint committed Nov 28, 2022
1 parent 0b31f96 commit 1c84355
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions posts/aleo/how-testnet3-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 66,14 @@ sudo ./build_ubuntu.sh
# 启动Prover,输入上面创建地址的私钥
./run-prover.sh
```
#### 2.4 如何启用GPU?
修改`snarkOS/Cargo.toml/`里面的`[workspace.dependencies.snarkvm]`,

```toml
features = ["circuit", "console", "parallel"]
```
改为
```toml
features = ["circuit", "console", "parallel", "cuda"]
```
4 changes: 2 additions & 2 deletions posts/filecoin/raid xfs .md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 27,9 @@ sudo update-initramfs -u

## 4.挂载硬盘
```
sudo blkid
sudo blkid
sudo vim /etc/fstab
/dev/disk/by-uuid/360e7d28-1e02-42fc-9fb7-e0ff66735c6d /home/fil/disk_md0 xfs defaults 0 0
/dev/disk/by-uuid/e6d668c1-279d-460b-a712-19cd456f845b /home/cs/md0 xfs defaults 0 0
sudo mount -a
```

Expand Down

0 comments on commit 1c84355

Please sign in to comment.