Efficient SIMD code generation for irregular kernels

SIMD公司 间接地 计算机科学 并行计算 矢量化(数学) 编译程序 编码(集合论) 架空(工程) 操作数 程序设计语言 计算机硬件 集合(抽象数据类型)
作者
Seonggun Kim,Hwansoo Han
标识
DOI:10.1145/2145816.2145824
摘要

Array indirection causes several challenges for compilers to utilize single instruction, multiple data (SIMD) instructions. Disjoint memory references, arbitrarily misaligned memory references, and dependence cycles in loops are main challenges to handle for SIMD compilers. Due to those challenges, existing SIMD compilers have excluded loops with array indirection from their candidate loops for SIMD vectorization. However, addressing those challenges is inevitable, since many important compute-intensive applications extensively use array indirection to reduce memory and computation requirements. In this work, we propose a method to generate efficient SIMD code for loops containing indirected memory references. We extract both inter- and intra-iteration parallelism, taking data reorganization overhead into consideration. We also optimally place data reorganization code in order to amortize the reorganization overhead through the performance gain of SIMD vectorization. Experiments on four array indirection kernels, which are extracted from real-world scientific applications, show that our proposed method effectively generates SIMD code for irregular kernels with array indirection. Compared to the existing SIMD vectorization methods, our proposed method significantly improves the performance of irregular kernels by 91%, on average.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
wuha完成签到,获得积分10
刚刚
刚刚
欢喜从霜完成签到,获得积分10
1秒前
Orange应助LiShin采纳,获得10
1秒前
1秒前
欣慰友梅完成签到,获得积分10
1秒前
2秒前
llllllll发布了新的文献求助10
2秒前
2秒前
2秒前
CC完成签到,获得积分10
2秒前
wwuu发布了新的文献求助10
3秒前
shenyanlei发布了新的文献求助10
3秒前
一汁蟹发布了新的文献求助20
4秒前
大个应助绿麦盲区采纳,获得10
4秒前
雨齐完成签到,获得积分10
4秒前
茶艺如何发布了新的文献求助10
4秒前
4秒前
kk完成签到,获得积分10
5秒前
5秒前
123发布了新的文献求助10
5秒前
yyyy完成签到,获得积分10
6秒前
好好学习天天向上完成签到,获得积分10
6秒前
欣慰友梅发布了新的文献求助10
6秒前
6秒前
7秒前
Akim应助易伊澤采纳,获得10
7秒前
格局太小完成签到,获得积分10
7秒前
7秒前
尔云完成签到,获得积分10
8秒前
传奇3应助GGZ采纳,获得10
8秒前
我瞎蒙发布了新的文献求助10
8秒前
llllllll完成签到,获得积分10
9秒前
香蕉觅云应助shenyanlei采纳,获得10
9秒前
kdkfjaljk完成签到 ,获得积分10
9秒前
9秒前
CipherSage应助芒果采纳,获得10
9秒前
9秒前
10秒前
nini完成签到,获得积分10
10秒前
高分求助中
Continuum Thermodynamics and Material Modelling 3000
Production Logging: Theoretical and Interpretive Elements 2700
Social media impact on athlete mental health: #RealityCheck 1020
Ensartinib (Ensacove) for Non-Small Cell Lung Cancer 1000
Unseen Mendieta: The Unpublished Works of Ana Mendieta 1000
Bacterial collagenases and their clinical applications 800
El viaje de una vida: Memorias de María Lecea 800
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 基因 遗传学 物理化学 催化作用 量子力学 光电子学 冶金
热门帖子
关注 科研通微信公众号,转发送积分 3527723
求助须知:如何正确求助?哪些是违规求助? 3107826
关于积分的说明 9286663
捐赠科研通 2805577
什么是DOI,文献DOI怎么找? 1539998
邀请新用户注册赠送积分活动 716878
科研通“疑难数据库(出版商)”最低求助积分说明 709762