Skip to content

Commit 20133c1

Browse files
ggerganovNeoZhangJianyu
authored andcommitted
contrib : add naming guidelines (cont) (ggml-org#11177)
1 parent a421812 commit 20133c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
struct llama_context * ctx;
3535
const enum llama_rope_type rope_type;
3636
```
37-
37+
3838
_(NOTE: this guideline is yet to be applied to the `llama.cpp` codebase. New code should follow this guideline.)_
39-
39+
4040
- Try to follow the existing patterns in the code (indentation, spaces, etc.). In case of doubt use `clang-format` to format the added code
4141
- For anything not covered in the current guidelines, refer to the [C++ Core Guidelines](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines)
4242
- Tensors store data in row-major order. We refer to dimension 0 as columns, 1 as rows, 2 as matrices
@@ -105,7 +105,7 @@
105105
106106
# Preprocessor directives
107107
108-
- (TODO: add guidelines with examples and apply them to the codebase)
108+
- _(TODO: add guidelines with examples and apply them to the codebase)_
109109
110110
```cpp
111111
#ifdef FOO

0 commit comments

Comments
 (0)