The 1.7.1 binaries use cudnn8.0.5.39, which I assume is the reason for the main difference between your setup and the binaries.
Try to install this particular version for a proper comparison or the latest one (cudnn8.1).