diff options
| author | Tor Aamodt <[email protected]> | 2020-07-04 16:26:52 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-07-04 16:26:52 -0700 |
| commit | 673f8a9f0056b456871642f4d25be5c598fcba6e (patch) | |
| tree | a9f379ae6ff144e8f3eccd3d510a36c2c0983edd /format-code.sh | |
| parent | c9cc4281bf84ad6cff77d20389b59d14a534ad6b (diff) | |
| parent | 9d3caa1cb2c70a3be186d4704ecab0fe13277516 (diff) | |
Merge pull request #1 from gpgpu-sim/dev
Dev
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 |
