Download programs/loop_unroll.c from callensxavier/v10c-dqn-compiler-optimization: direct link, hf CLI and curl.
- Browser
- Download file 180 Bytes
-
https://huggingface.co/callensxavier/v10c-dqn-compiler-optimization/resolve/main/programs/loop_unroll.c
- Command line
-
hf download hf://callensxavier/v10c-dqn-compiler-optimization/programs/loop_unroll.c
-
curl -L -o loop_unroll.c https://huggingface.co/callensxavier/v10c-dqn-compiler-optimization/resolve/main/programs/loop_unroll.c
180 Bytes
| int main() { | |
| int sum=0,arr[16]={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}; | |
| for(int i=0;i<100000000;i++)sum+=arr[i%16]; | |
| printf("%d\n",sum);return 0; | |
| } | |