Bug 502288 - s390x: Memcheck false positives with NNPA last tensor dimension
Summary: s390x: Memcheck false positives with NNPA last tensor dimension
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-01 15:16 UTC by Andreas Arnez
Modified: 2025-04-01 15:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Arnez 2025-04-01 15:16:20 UTC
When filling a 4D input tensor without initializing the pad elements, memcheck may complain about the NNPA instruction like this:
  ==3180208== Syscall param NNPA(in_tensor_1) points to uninitialised byte(s)
This is a false positive, because the architecture declares the pad elements to be ignored.
Comment 1 Andreas Arnez 2025-04-01 15:22:22 UTC
Fixed with commit bba9d299ca5ed0d6220fd47cf0a5eed5a7ce3b55.