Bug 502288

Summary: s390x: Memcheck false positives with NNPA last tensor dimension
Product: [Developer tools] valgrind Reporter: Andreas Arnez <arnez>
Component: generalAssignee: Julian Seward <jseward>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.