Suppress "ioctl points to uninitialised" check (#48187)

Summary:
libcuda.so from CUDA-11.1 makes ioctl() that valgrind's memcheck tool considers dangerous
Instruct valgrind to suppress that check

Fixes false positives reported in https://app.circleci.com/pipelines/github/pytorch/pytorch/240774/workflows/d4c66de8-f13b-47a2-ae62-2ec1bbe0664b/jobs/9026496

Pull Request resolved: https://github.com/pytorch/pytorch/pull/48187

Reviewed By: janeyx99

Differential Revision: D25059850

Pulled By: malfet

fbshipit-source-id: 982df5860524482b0fcb2bfc6bb490fb06694cf6
This commit is contained in:
Nikita Shulga
2020-11-18 18:43:47 -08:00
committed by Facebook GitHub Bot
parent 576fa09157
commit efeb988518

View File

@ -24,6 +24,15 @@
...
}
{
ignore_cuda_ioctl_param_points_to_uninitialised_bytes
Memcheck:Param
ioctl(generic)
fun:ioctl
obj:*libcuda.so*
...
}
{
ignore_libomp_setaffinity_check
Memcheck:Param