Unable to use cuda-memcheck --tool racecheck

In case anyone is facing something similar, I solved my problem by running compute-sanitizer --tool racecheck instead, as per this forum post.

I also resolved the cupti64_2020.3.0.dll was not found error by following the advice from this answer (same as above).