[cuDNN] [cuDNN v8 API] Support cuDNN Errata Filter (#73934)
Not originally mentioned in the tracking issue #58414, but is a nice-to-have feature. In summary, the errata filter allows known problematic kernels to be skipped instead of irrecoverably crashing a CUDA context (e.g., via an illegal memory access) via a JSON file supplied at run time. cuDNN frontend description: https://github.com/NVIDIA/cudnn-frontend#errata-filter
Sample errata filter JSON:
```
{
"version" : 1,
"rules" : [
{
"rule_id" : "avoid_bad_bwd_data",
"operation" : "ConvBwdData",
"engine" : 12,
"cudnn_version_start" : 8000,
"cudnn_version_end" : 9000
}
]
}
```
CC @ngimel @zasdfgbnm @ptrblck
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73934
Approved by: https://github.com/ngimel