marian/contrib
Roman Grundkiewicz be6cbc261a Add vim files
2017-06-21 14:00:10 +02:00
..
other-builds/marian move eclipse files 2017-03-21 11:09:11 +00:00
vim Add vim files 2017-06-21 14:00:10 +02:00
autoformat.sh Autoformat .cu files 2017-06-05 13:10:28 +02:00
README.md Add autoformat.sh script 2017-06-05 12:45:13 +02:00

Contributing to Marian

Code style

Main code style rules:

  • no tabs, 2 whitespaces instead
  • lines no longer than 80 characters
  • no trailing whitespaces
  • no space between control statements and opening brackets

Alternatively, use the provided .clang-format file for ClangFormat to format new code fragments, e.g.

clang-format-3.8 <path_to_file>

Notice: If you want to merge your changes from the repository cloned before autoformatting on all files in the master repository, you may want to use the autoformat.sh script on your files before the merge.