cfd acceleration with fpga
play

CFD Acceleration with FPGA Launching byteLAKEs CFD Suite Krzysztof - PowerPoint PPT Presentation

CFD Acceleration with FPGA Launching byteLAKEs CFD Suite Krzysztof Rojek, CTO at byteLAKE, PhD, DSc at Czestochowa University of Technology Jamon Bowen, Director, Segment Marketing and Planning at Xilinx FPGAs The Ultimate Parallel


  1. CFD Acceleration with FPGA Launching byteLAKE’s CFD Suite Krzysztof Rojek, CTO at byteLAKE, PhD, DSc at Czestochowa University of Technology Jamon Bowen, Director, Segment Marketing and Planning at Xilinx

  2. FPGAs – The Ultimate Parallel Processing Device › No predefined instruction set or underlying architecture › Developer customizes the architecture to his needs » Custom datapaths » Custom bit-width » Custom memory hierarchies › Excels at all types of parallelism » Deeply pipelined (e.g. Video codecs) » Bit manipulations (e.g. AES, SHA) » Wide datapath (e.g. DNN) » Custom memory hierarchy (e.g: Data analytics) › Adapts to evolving algorithms and workload needs

  3. VITIS – Heterogeneous compute development environment

  4. Using C, C++ or OpenCL to Program FPGAs loop_main:for(int j=0;j<NUM_SIMGROUPS;j+=2) { loop_share:for(uint k=0;k<NUM_SIMS;k++) { loop_parallel:for(int i=0;i<NUM_RNGS;i++) { mt_rng[i].BOX_MULLER(&num1[i][k],&num2[i][k],ratio4,ratio3); float payoff1 = expf(num1[i][k])-1.0f; float payoff2 = expf(num2[i][k])-1.0f; if(num1[i][k]>0.0f) pCall1[i][k]+= payoff1; FPGA else Compile pPut1[i][k]-=payoff1; if(num2[i][k]>0.0f) pCall2[i][k]+=payoff2; else pPut2[i][k]-=payoff2; } } } › Xilinx pioneered C to FPGA compilation technology (aka “HLS”) in 2011 › Enables “Software Programmability” of FPGAs › Includes open source collection of optimized HLS libraries

  5. Software Programmability: FPGA Development in C/C++ C/C++ code C/C++ FPG CPU A with or OpenCL API calls OpenCL C x86 CPU FPGA User Host Accelerated Application Application Functions Code Acceleration API AXI Interfaces Xilinx Acceleration Platform Runtime and Drivers DMA Engine PCIe Page 5

  6. CFD, Agenda › Numerical analysis and algorithms Computational to solve fluid flows problems. Fluid Dynamics › Model fluids density, velocity, pressure, temperature, and chemical concentrations in relation to time and space. › Typical applications: weather simulations, aerodynamic characteristics modelling and optimization, flow around buildings simulations etc. 6

  7. Architecture › The compute domain is divided into 4 sub-domains › Host sends data to the FPGA global memory › Host calls kernel to execute it on FPGA (kernel is called many times) › Each kernel call represents a single time step › FPGA sends the output array back to host

  8. Alveo Optimizations Execution time [s] 5774.60 4597.60 4572.00 1179.00 673.10 575.70 483.60 342.90 23.80 9.96

  9. Conclusions Performance (the higher Energy (the lower the the better) better) INTEL INTEL INTEL INTEL XILINX INTEL INTEL INTEL INTEL XILINX XEON E5- XEON E5- XEON XEON ALVEO XEON E5- XEON E5- XEON XEON ALVEO 2995 2995 GOLD 6148 PLATINUM U250 2995 2995 GOLD 6148 PLATINUM U250 8168 8168 Performance/W (the higher the better) • Up to 4x more performance • Up to 80% lower energy consumption • Up to 6x more performance/Watt INTEL INTEL INTEL INTEL XILINX XEON E5- XEON E5- XEON XEON ALVEO 2995 2995 GOLD 6148 PLATINUM U250 9 8168

  10. Launching byteLAKE’s CFD Suite (BCS) › Highlights » Collection of Alveo Optimized CFD Workloads » Acceleration = Faster Results » Green Computing = Improved Efficiency » Microservices = Quick Start » Excellent TCO = Cost Saving » AI Driven Approach

  11. First Microservices Launching Today › Advection › Thomas Algorithm (linear algebra module) › Low barrier entry » Scalable on demand » As a Service / Cloud » On-premise

  12. Way Forward byteLAKE’s More Microservices (roadmap) CFD Suite (GCS) Construction Chemistry Oil & Gas Green Energy Automotive Use Case Specific Highly Optimized AI Driven

  13. byteLAKE at SC19 HPC and AI Convergence Booth: • CFD Acceleration with FPGA (workshop) H2RC, 607 • byteLAKE’s CFD Suite (Alveo optimized, demo) • Leveraging AI for Reforestation Efforts and AI Training Acceleration (demo) byteLAKE.com Denver, CO, Colorado Convention Center, Nov 17-21 /en/SC19

  14. Thank You welcome@byteLAKE.com

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend