Skip to content

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
  • Loading branch information
MetaFlow committed Feb 11, 2019
1 parent a2bc2c8 commit 410effd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ffcompile.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#!/bin/bash

# GPU_ARCH must be one of fermi, k20, pascal, volta
export GPU_ARCH=volta

# set CUDA_HOME to the directoy of cuda, which should have subdirectories bin/, include/, and lib/
export CUDA_HOME=/usr/local/cuda
git submodule init
git submodule update

APP="$1"

if [ -z "$APP" ]; then echo "Usage: ./ffcompile app"; exit; fi
Expand Down

0 comments on commit 410effd

Please sign in to comment.