diff options
| author | Mahmoud <[email protected]> | 2020-05-23 20:06:25 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2020-05-23 20:06:25 -0400 |
| commit | d610fd81420979e956bf37100f7e1c7f1d153831 (patch) | |
| tree | 392a841f21fec5136339ff36ad9b5c7b1b4cb480 /format-code.sh | |
| parent | 6cedd3ef4973f3785757413db89a7c5d0ee2b58b (diff) | |
| parent | e9e9fcf5957530ecb927aecb5ea238e4b78a4f45 (diff) | |
Merge branch 'dev' of https://github.com/purdue-aalp/gpgpu-sim_distribution into dev-traces
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 |
