Darknet compile error with cudnn 8

HI AastaLLL:

when I try

$ wget https://raw.githubusercontent.com/AastaNV/JEP/master/script/topics/0001-fix-for-cudnn_v8-limited-memory-to-default-darknet-s.patch
$ git am 0001-fix-for-cudnn_v8-limited-memory-to-default-darknet-s.patch

I have some problem
1.where I type these command (location? folder?)
2.when i type git am 0001-fix-for-cudnn_v8-limited-memory-to-default-darknet-s.patch

the error message as above: .
what should I do , I use Nvidia Jetson NANO not NX.
THX.

nvidia@nvidia-desktop:~/darknet-master$ git am 0001-fix-for-cudnn_v8-limited-memory-to-default-darknet-s.patch
15:28:22.413913 git.c:344 trace: built-in: git am 0001-fix-for-cudnn_v8-limited-memory-to-default-darknet-s.patch
15:28:22.414612 run-command.c:646 trace: run_command: git mailsplit -d4 -o.git/rebase-apply -b – darknet-master//0001-fix-for-cudnn_v8-limited-memory-to-default-darknet-s.patch
15:28:22.419888 git.c:344 trace: built-in: git mailsplit -d4 -o.git/rebase-apply -b – darknet-master//0001-fix-for-cudnn_v8-limited-memory-to-default-darknet-s.patch
Applying: fix for cudnn_v8 (limited memory to default darknet setting)
error: src/convolutional_layer.c: does not exist in index
Patch failed at 0001 fix for cudnn_v8 (limited memory to default darknet setting)
Use ‘git am --show-current-patch’ to see the failed patch
When you have resolved this problem, run “git am --continue”.
If you prefer to skip this patch, run “git am --skip” instead.
To restore the original branch and stop patching, run “git am --abort”.