Update README.md
Browse files
README.md
CHANGED
@@ -47,8 +47,14 @@ dataset_info:
|
|
47 |
## Dataset Description
|
48 |
|
49 |
<!-- Provide a longer summary of what this dataset is. -->
|
50 |
-
This dataset consists of
|
51 |
-
Each path, a sequence of LLVM IR instructions, is
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
|
53 |
## Uses
|
54 |
|
@@ -59,4 +65,7 @@ A path is considered "hot" if it is executed more than a threshold of *n* times,
|
|
59 |
## Dataset Structure
|
60 |
|
61 |
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
|
62 |
-
The dataset is split into train (
|
|
|
|
|
|
|
|
47 |
## Dataset Description
|
48 |
|
49 |
<!-- Provide a longer summary of what this dataset is. -->
|
50 |
+
This dataset consists of 1561 compiler paths generated from 26 C programs in the [Polybench Benchmark Suite](https://github.com/MatthiasJReisinger/PolyBenchC-4.2.1) using the [Ball-Larus Algorithm](https://github.com/waker-he/ball-larus/tree/main).
|
51 |
+
Each path, a sequence of LLVM IR instructions, is has three associated values:
|
52 |
+
|
53 |
+
1. `count`, an integer indicating the number of times this path is executed in the original program.
|
54 |
+
2. `source_file`, a string indicating which program was this path from.
|
55 |
+
3. `label`, an integer of 0 or 1 indicating whether this path is "cold" or "hot" respectively.
|
56 |
+
|
57 |
+
Note: 4 programs (`deriche`, `cholesky`, `gramschmidt`, `correlation`) were excluded because we encountered errors when running them.
|
58 |
|
59 |
## Uses
|
60 |
|
|
|
65 |
## Dataset Structure
|
66 |
|
67 |
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
|
68 |
+
The dataset is split into train (1190, 75%), validation (211, 15%), and test (160, 10%) sets. The test set consists of paths from 4 programs (in PolyBench), namely, `jacobi-2d`, `syr2k`, `durbin`, `2mm`.
|
69 |
+
These 4 programs were randomly selected to be the test set before generating the paths. This guarantees that the models have never seen the test set's programs.
|
70 |
+
The train and validation sets consist of the remaining 22 programs, which were randomly split after generating the paths (while maintaining the hot-to-cold-paths ratio),
|
71 |
+
meaning that some paths in the validation set and training set may come from the same C program. However, this likely won't be an issue since the paths themselves are distinct.
|