File size: 4,224 Bytes
3598ef2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
  "@context": {
    "@language": "en",
    "@vocab": "https://schema.org/",
    "sc": "https://schema.org/",
    "cr": "http://mlcommons.org/croissant/",
    "rai": "http://mlcommons.org/croissant/RAI/",
    "dct": "http://purl.org/dc/terms/",
    "data": {
      "@id": "cr:data",
      "@type": "@json"
    },
    "dataType": {
      "@id": "cr:dataType",
      "@type": "@vocab"
    },
    "examples": {
      "@id": "cr:examples",
      "@type": "@json"
    }
  },
  "@type": "sc:Dataset",
  "name": "MLIR-Functional-Reference-30",
  "description": "Hand-authored functional-correctness reference set for arith+func, linalg+memref, and StableHLO (n=30, 10 per dialect). Each record specifies a canonical function name, signature, concrete inputs, and the expected output under a dialect-specific execution wrapper. The set is released as evaluation evidence (verify-valid is necessary but not sufficient for functional correctness).",
  "conformsTo": "http://mlcommons.org/croissant/1.0",
  "license": "https://spdx.org/licenses/Apache-2.0.html",
  "version": "1.0.0",
  "datePublished": "2026-04-29",
  "citeAs": "(anonymous submission to NeurIPS 2026 E&D track)",
  "url": "<populated-at-camera-ready>",
  "distribution": [
    {
      "@type": "cr:FileObject",
      "@id": "MLIR-Functional-Reference-30-archive",
      "name": "MLIR-Functional-Reference-30.zip",
      "contentUrl": "<populated-at-camera-ready>",
      "encodingFormat": "application/zip",
      "sha256": "<populated-at-camera-ready>"
    }
  ],
  "recordSet": [
    {
      "@type": "cr:RecordSet",
      "@id": "records",
      "name": "records",
      "description": "One functional-reference record per row.",
      "field": [
        {
          "@type": "cr:Field",
          "@id": "records/id",
          "name": "id",
          "dataType": "sc:Text",
          "description": "Unique record identifier."
        },
        {
          "@type": "cr:Field",
          "@id": "records/dialect",
          "name": "dialect",
          "dataType": "sc:Text",
          "description": "MLIR dialect tag (arith/linalg/stablehlo)."
        },
        {
          "@type": "cr:Field",
          "@id": "records/source_benchmark",
          "name": "source_benchmark",
          "dataType": "sc:Text",
          "description": "Which sibling benchmark this prompt was authored from."
        },
        {
          "@type": "cr:Field",
          "@id": "records/source_id",
          "name": "source_id",
          "dataType": "sc:Text",
          "description": "Sibling-benchmark prompt id (for cross-reference)."
        },
        {
          "@type": "cr:Field",
          "@id": "records/canonical_fn_name",
          "name": "canonical_fn_name",
          "dataType": "sc:Text",
          "description": "Expected MLIR function name."
        },
        {
          "@type": "cr:Field",
          "@id": "records/canonical_signature",
          "name": "canonical_signature",
          "dataType": "sc:Text",
          "description": "Expected MLIR function signature."
        },
        {
          "@type": "cr:Field",
          "@id": "records/result_type",
          "name": "result_type",
          "dataType": "sc:Text",
          "description": "MLIR result type."
        },
        {
          "@type": "cr:Field",
          "@id": "records/inputs",
          "name": "inputs",
          "dataType": "sc:Text",
          "description": "Concrete input values for the execution wrapper (JSON-encoded)."
        },
        {
          "@type": "cr:Field",
          "@id": "records/expected_output",
          "name": "expected_output",
          "dataType": "sc:Text",
          "description": "Expected scalar/array output (JSON-encoded)."
        },
        {
          "@type": "cr:Field",
          "@id": "records/expected_stdout_regex",
          "name": "expected_stdout_regex",
          "dataType": "sc:Text",
          "description": "Optional regex over the runner's stdout for matching."
        },
        {
          "@type": "cr:Field",
          "@id": "records/nl",
          "name": "nl",
          "dataType": "sc:Text",
          "description": "Natural-language task description."
        }
      ]
    }
  ]
}