[llvm-bugs] [Bug 49817] New: The reference file of DOE-ProxyApps-C/RSBench/rsbench depends on alignment of struct

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 1 20:10:38 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=49817

            Bug ID: 49817
           Summary: The reference file of DOE-ProxyApps-C/RSBench/rsbench
                    depends on alignment of struct
           Product: Test Suite
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Programs Tests
          Assignee: unassignedbugs at nondot.org
          Reporter: zixuan.wu at linux.alibaba.com
                CC: llvm-bugs at lists.llvm.org

The reference file of DOE-ProxyApps-C/RSBench/rsbench.test:

================================================================================
                                  INPUT SUMMARY
================================================================================
Materials:                   12
H-M Benchmark Size:          Small
Temperature Dependence:      ON
Total Nuclides:              68
Avg Poles per Nuclide:       1,000
Avg Windows per Nuclide:     1,000
XS Lookups:                  100,000
Threads:                     1
Est. Memory Usage (MB):      6.7

And the `Est. Memory Usage (MB):` depends on the size of the struct Pole. The
definition as following.

typedef struct{
        complex double MP_EA;
        complex double MP_RT;
        complex double MP_RA;
        complex double MP_RF;
        short int l_value;
} Pole;

Because the alignment of double is not 8 in some targets, so the `Memory Usage
(MB):` is not 6.7.

Should I disable such test in some target or modify the reference file to make
it suitable for different targets?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210402/02c18386/attachment-0001.html>


More information about the llvm-bugs mailing list