BEGIN:VCALENDAR
VERSION:2.0
PRODID:Linklings LLC
BEGIN:VTIMEZONE
TZID:Europe/Stockholm
X-LIC-LOCATION:Europe/Stockholm
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700308T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701101T020000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20210527T134950Z
LOCATION:Applaus
DTSTART;TZID=Europe/Stockholm:20200622T232100
DTEND;TZID=Europe/Stockholm:20200622T235900
UID:isc_hpc_ISC High Performance 2020_sess328_phd104@linklings.com
SUMMARY:Towards a Heterogeneous data-centric framework for efficient Linea
 r algebra
DESCRIPTION:PhD Forum\n\nTowards a Heterogeneous data-centric framework fo
 r efficient Linear algebra\n\nAnastasiadis\n\nBLAS(Basic Linear Algebra Su
 bprograms) are extensively used in scientific code for graph processing, s
 imulation, systems, machine learning and more. Their optimization is one o
 f the most explored areas of computational science and still a very active
  field. Much effort has been put into efficiently implementing BLAS on dif
 ferent architectures and paradigms. However, full hardware utilization, da
 ta movement optimization and enough parallelism are required to harness th
 e performance of the new heterogeneous systems. \n\n‘Qilin’ [1] is the fir
 st hybrid execution approach, splitting the problem in equal chunks and us
 ing optimized vendor libraries for computation based on a simple empirical
  model. Stanimire [2] proposes LAPACK with heterogeneous BLAS-level parall
 elism. Werkhoven [3] proposes a model for predicting optimal communication
 /computation overlap for GPUs. cuBLAS-XT[4] is Nvidia’s Multi-GPU library 
 for communication overlap-inclusive BLAS 3 routines with the option of hyb
 rid host execution for GEMM only, but tuning the chunk size and CPU ratio 
 is left to the user. ‘BLASXT’ [5] is the state of the art hybrid CPU/multi
 -GPU (Nvidia)  library for BLAS 3 which uses a cache-representation of the
  multi-GPU memory problem to reduce pcie communication and load balance wo
 rk between GPUs. \nThe previous approaches either focus on some branch of 
 the problem (e.g. BLAS 3) and provide a full solution[4,5], or model the p
 roblem with assumptions regarding data location, availability and layout i
 n order to simplify it and also lack a whole implementation [1,2,3]. Our o
 bjective is creating a complete framework aiming to provide optimal hetero
 geneous BLAS performance. Our framework will provide a BLAS-style high lev
 el interface with no extra input parameters and will be responsible for au
 tomatically and optimally distributing work/data and scheduling execution 
 (utilize existing libraries for computation) simultaneously on the availab
 le heterogeneous components. \n\nSince most linear algebra operations(BLAS
 , SparseBLAS, LAPACK) work with vectors and arrays, data movement  and acc
 ess is the main issue in heterogeneous clusters. To account for this we fo
 llow a data-centric approach, and isolate three main challenges. The first
  is to create a lightweight mechanism for predicting the optimal data dist
 ribution. The second is to engineer the underlying data tiling/transfer me
 thods and integrate existing BLAS libraries, to provide a complete framewo
 rk. The third challenge is the modularity, extensibility and adaptability 
 of our framework.\n\nOur early evaluation for this work is the following: 
 We have implemented simple regression models in Python for dot, gemv, spmv
  and gemm for hybrid CPU/GPU execution. Our model takes into account avail
 able system resources, the algorithm and its input/output (type,size and l
 ayout) and is able to predict the ideal CPU/GPU ratio and chunk number and
  size for maximum overlap, also considering non-square and varying size ti
 ling blocks (all previous works consider equal square blocks). We have als
 o implemented the aforementioned algorithms in C using Intel MKL + CUBLAS,
  to test our model accuracy.  Our early results show that our model provid
 es good insight on the optimal data split, and that the accuracy of the pr
 ediction is dependent on all the model input we are using. \n\n[1]10.1145/
 1669112.1669121\n[2]10.1016/j.parco.2009.12.005\n[3]10.1109/CCGrid.2014.16
 \n[4]https://docs.nvidia.com/cuda/cublas/index.html#using-the-cublasXt-api
 \n[5]10.1145/2925426.2926256\n\nTag: Pre-Recorded
URL:https://2020.isc-program.com/presentation/?id=phd104&sess=sess328
END:VEVENT
END:VCALENDAR

