compiler_hot_paths
收藏资源简介:
该数据集包含从26个C程序生成的1561条编译路径,这些程序来自Polybench基准测试套件,使用Ball-Larus算法生成。每条路径由一系列LLVM IR指令组成,并附有三个相关值:执行次数(count)、源文件(source_file)和标签(label,表示路径是'冷'还是'热')。数据集被分为训练集(1190条路径,75%)、验证集(211条路径,15%)和测试集(160条路径,10%)。测试集包含来自4个程序的路径,这些程序在生成路径之前被随机选择为测试集,确保模型未见过这些程序。训练集和验证集包含剩余的22个程序,这些程序在生成路径后随机分割。
This dataset comprises 1,561 compilation paths generated from 26 C programs sourced from the Polybench benchmark suite, with all paths produced using the Ball-Larus algorithm. Each path consists of a sequence of LLVM IR instructions, paired with three associated metadata values: execution count (count), source file (source_file), and label (indicating whether the path is categorized as 'cold' or 'hot'). The dataset is split into three subsets: a training set (1,190 paths, 75%), a validation set (211 paths, 15%), and a test set (160 paths, 10%). The test set contains paths from 4 programs that were randomly designated for the test set prior to path generation, ensuring that the model has no prior exposure to these programs. The training and validation sets cover the remaining 22 programs, with their paths randomly partitioned between the two subsets after path generation.
数据集概述
数据集描述
该数据集包含1561条编译路径,这些路径是从Polybench Benchmark Suite中的26个C程序生成的,使用Ball-Larus Algorithm算法。每条路径是一个LLVM IR指令序列,并附带以下三个值:
count:整数,表示该路径在原始程序中执行的次数。source_file:字符串,表示该路径来自哪个程序。label:整数,值为0或1,分别表示该路径是“冷路径”或“热路径”。
注意:由于运行时遇到错误,排除了4个程序(deriche, cholesky, gramschmidt, correlation)。
数据集用途
该数据集用于训练/微调机器学习模型,以进行热路径预测:给定一条路径,预测它是“热路径”还是“冷路径”。路径被认为是“热路径”,如果它在程序中执行次数超过阈值n,其中n = 1,否则被认为是“冷路径”。
数据集结构
数据集分为训练集(1190条,75%)、验证集(211条,15%)和测试集(160条,10%)。测试集包含来自4个程序(在PolyBench中)的路径,即jacobi-2d, syr2k, durbin, 2mm。这4个程序在生成路径之前被随机选择为测试集,确保模型从未见过测试集的程序。训练集和验证集包含剩余的22个程序,这些程序在生成路径后随机分割(同时保持热路径与冷路径的比例),这意味着验证集和训练集中的某些路径可能来自同一个C程序,但由于路径本身是不同的,这可能不会成为问题。
数据集信息
特征
path:字符串count:int64source_file:字符串label:int64
分割
train:3468576字节,1190条validation:647074字节,211条test:194998字节,160条
大小
- 下载大小:798471字节
- 数据集大小:4310648字节




