llm.c
llm.c copied to clipboard
Improve the constness of code #1
https://github.com/karpathy/llm.c/issues/147 Code changes are tested by execution
Scanned through the following files and touched 3 files (2 files are OK wrt constness)
- classifier_fused.cu
- crossentropy_foward.cu
- crossentropy_softmax_backward.cu
- gelu_forward
- layernorm_backward
Refactor for other files in subsequent PRs