Skip to content

Commit efeb988

Browse files
malfetfacebook-github-bot
authored andcommitted
Suppress "ioctl points to uninitialised" check (pytorch#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: pytorch#48187 Reviewed By: janeyx99 Differential Revision: D25059850 Pulled By: malfet fbshipit-source-id: 982df5860524482b0fcb2bfc6bb490fb06694cf6
1 parent 576fa09 commit efeb988

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

aten/tools/valgrind.sup

+9
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@
2424
...
2525
}
2626

27+
{
28+
ignore_cuda_ioctl_param_points_to_uninitialised_bytes
29+
Memcheck:Param
30+
ioctl(generic)
31+
fun:ioctl
32+
obj:*libcuda.so*
33+
...
34+
}
35+
2736
{
2837
ignore_libomp_setaffinity_check
2938
Memcheck:Param

0 commit comments

Comments
 (0)