The GEneral Matrix Multiplication (GEMM) is one of the essential algorithms in scientific computing. Single-thread GEMM implementations are well-optimised with techniques like blocking and autotuning. However, due to the complexity of modern multi-core shared memory systems, it is challenging to determine the number of threads that minimises the multi-thread GEMM runtime. We present a proof-of-concept approach to building an Architecture and Data-Structure Aware Linear Algebra (ADSALA) software library that uses machine learning to optimise the runtime performance of BLAS routines. More specifically, our method uses a machine learning model on-the-fly to automatically select the optimal number of threads for a given GEMM task based on the collected training data. Test results on two different HPC node architectures, one based on a two-socket Intel Cascade Lake and the other on a two-socket AMD((R)) Zen 3, revealed a 25 to 40 per cent speedup compared to traditional GEMM implementations in BLAS when using GEMM of memory usage within 100 MB.
机构:
Department of Maritime Transport and Logistics, School of Business and Economics, The American College of Greece, 6 Gravias Street, Ag. ParaskeviDepartment of Maritime Transport and Logistics, School of Business and Economics, The American College of Greece, 6 Gravias Street, Ag. Paraskevi
Gerakoudi K.
Kokosalakis G.
论文数: 0引用数: 0
h-index: 0
机构:
Department of Maritime Transport and Logistics, School of Business and Economics, The American College of Greece, 6 Gravias Street, Ag. ParaskeviDepartment of Maritime Transport and Logistics, School of Business and Economics, The American College of Greece, 6 Gravias Street, Ag. Paraskevi
Kokosalakis G.
Stavroulakis P.J.
论文数: 0引用数: 0
h-index: 0
机构:
Department of Maritime Transport and Logistics, School of Business and Economics, The American College of Greece, 6 Gravias Street, Ag. Paraskevi
Department of Maritime Studies, School of Maritime and Industrial Studies, University of Piraeus, Karaoli & Dimitriou St. 80, PiraeusDepartment of Maritime Transport and Logistics, School of Business and Economics, The American College of Greece, 6 Gravias Street, Ag. Paraskevi
机构:
Univ Santiago de Compostela, Ctr Singular Invest Tecnoloxias Informac CITIUS, Rua Jenaro de la Fuente Dominguez, Santiago De Compostela 15782, SpainUniv Santiago de Compostela, Ctr Singular Invest Tecnoloxias Informac CITIUS, Rua Jenaro de la Fuente Dominguez, Santiago De Compostela 15782, Spain
Fernandez-Fuentes, Xose
Mera, David
论文数: 0引用数: 0
h-index: 0
机构:
Univ Santiago de Compostela, Ctr Singular Invest Tecnoloxias Informac CITIUS, Rua Jenaro de la Fuente Dominguez, Santiago De Compostela 15782, SpainUniv Santiago de Compostela, Ctr Singular Invest Tecnoloxias Informac CITIUS, Rua Jenaro de la Fuente Dominguez, Santiago De Compostela 15782, Spain
Mera, David
Gomez, Andres
论文数: 0引用数: 0
h-index: 0
机构:
Galicia Supercomp Ctr CESGA, Avda Vigo, Santiago De Compostela 15705, SpainUniv Santiago de Compostela, Ctr Singular Invest Tecnoloxias Informac CITIUS, Rua Jenaro de la Fuente Dominguez, Santiago De Compostela 15782, Spain
Gomez, Andres
Vidal-Franco, Ignacio
论文数: 0引用数: 0
h-index: 0
机构:
Galicia Supercomp Ctr CESGA, Avda Vigo, Santiago De Compostela 15705, SpainUniv Santiago de Compostela, Ctr Singular Invest Tecnoloxias Informac CITIUS, Rua Jenaro de la Fuente Dominguez, Santiago De Compostela 15782, Spain
机构:
Department of Maritime Transport and Logistics, School of Business and Economics, The American College of Greece, 6 Gravias Street, Ag. ParaskeviDepartment of Maritime Transport and Logistics, School of Business and Economics, The American College of Greece, 6 Gravias Street, Ag. Paraskevi
Gerakoudi K.
Kokosalakis G.
论文数: 0引用数: 0
h-index: 0
机构:
Department of Maritime Transport and Logistics, School of Business and Economics, The American College of Greece, 6 Gravias Street, Ag. ParaskeviDepartment of Maritime Transport and Logistics, School of Business and Economics, The American College of Greece, 6 Gravias Street, Ag. Paraskevi
Kokosalakis G.
Stavroulakis P.J.
论文数: 0引用数: 0
h-index: 0
机构:
Department of Maritime Transport and Logistics, School of Business and Economics, The American College of Greece, 6 Gravias Street, Ag. Paraskevi
Department of Maritime Studies, School of Maritime and Industrial Studies, University of Piraeus, Karaoli & Dimitriou St. 80, PiraeusDepartment of Maritime Transport and Logistics, School of Business and Economics, The American College of Greece, 6 Gravias Street, Ag. Paraskevi
机构:
Univ Santiago de Compostela, Ctr Singular Invest Tecnoloxias Informac CITIUS, Rua Jenaro de la Fuente Dominguez, Santiago De Compostela 15782, SpainUniv Santiago de Compostela, Ctr Singular Invest Tecnoloxias Informac CITIUS, Rua Jenaro de la Fuente Dominguez, Santiago De Compostela 15782, Spain
Fernandez-Fuentes, Xose
Mera, David
论文数: 0引用数: 0
h-index: 0
机构:
Univ Santiago de Compostela, Ctr Singular Invest Tecnoloxias Informac CITIUS, Rua Jenaro de la Fuente Dominguez, Santiago De Compostela 15782, SpainUniv Santiago de Compostela, Ctr Singular Invest Tecnoloxias Informac CITIUS, Rua Jenaro de la Fuente Dominguez, Santiago De Compostela 15782, Spain
Mera, David
Gomez, Andres
论文数: 0引用数: 0
h-index: 0
机构:
Galicia Supercomp Ctr CESGA, Avda Vigo, Santiago De Compostela 15705, SpainUniv Santiago de Compostela, Ctr Singular Invest Tecnoloxias Informac CITIUS, Rua Jenaro de la Fuente Dominguez, Santiago De Compostela 15782, Spain
Gomez, Andres
Vidal-Franco, Ignacio
论文数: 0引用数: 0
h-index: 0
机构:
Galicia Supercomp Ctr CESGA, Avda Vigo, Santiago De Compostela 15705, SpainUniv Santiago de Compostela, Ctr Singular Invest Tecnoloxias Informac CITIUS, Rua Jenaro de la Fuente Dominguez, Santiago De Compostela 15782, Spain