diff options
| author | Tor Aamodt <[email protected]> | 2020-05-21 08:57:11 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-05-21 08:57:11 -0700 |
| commit | 76217d80d9aa33126b4254f5e899f882bbc6f2fd (patch) | |
| tree | 4f461a6f417f76956748fafcfb89b664f54bf6a9 /format-code.sh | |
| parent | e7fbfaa347c0acf8a6702c1e684a8e2ad8d3f733 (diff) | |
| parent | e9e9fcf5957530ecb927aecb5ea238e4b78a4f45 (diff) | |
Merge pull request #178 from purdue-aalp/dev
Merging with the last few months of work at Purdue
Diffstat (limited to 'format-code.sh')
| -rwxr-xr-x | format-code.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/format-code.sh b/format-code.sh new file mode 100755 index 0000000..39c24e4 --- /dev/null +++ b/format-code.sh @@ -0,0 +1,12 @@ +# This bash script formats GPGPU-Sim using clang-format +THIS_DIR="$( cd "$( dirname "$BASH_SOURCE" )" && pwd )" +clang-format -i ${THIS_DIR}/libcuda/*.h +clang-format -i ${THIS_DIR}/libcuda/*.cc +clang-format -i ${THIS_DIR}/src/*.h +clang-format -i ${THIS_DIR}/src/*.cc +clang-format -i ${THIS_DIR}/src/gpgpu-sim/*.h +clang-format -i ${THIS_DIR}/src/gpgpu-sim/*.cc +clang-format -i ${THIS_DIR}/src/cuda-sim/*.h +clang-format -i ${THIS_DIR}/src/cuda-sim/*.cc +clang-format -i ${THIS_DIR}/src/gpuwattch/*.h +clang-format -i ${THIS_DIR}/src/gpuwattch/*.cc |
