1
Shaping light with GPUs
Damien Gratadour Observatoire de Paris & Université Paris Diderot
Shaping light with GPUs Damien Gratadour Observatoire de Paris - - PowerPoint PPT Presentation
Shaping light with GPUs Damien Gratadour Observatoire de Paris & Universit Paris Diderot 1 Observing stars from the ground Atmospheric turbulence Disturbs the trajectory of light rays when they cross the atmosphere Reduces
1
Damien Gratadour Observatoire de Paris & Université Paris Diderot
2
๏ Atmospheric turbulence
๏ Disturbs the trajectory of light
๏ Reduces astronomical images
๏ Similar to the effect of aberrations
๏ Adaptive optics
๏ Compensate in real-time for
๏ Already in use on most 5-10m astronomical telescope to provide nominal image
3
๏ From a spherical wave to a flat wavefront
4
๏ Crossing the atmosphere
๏ Mixture of hot and cold
๏ Strongly affects image quality
5
๏ Compensate in real-time
๏ Using a wavefront
๏ Using a deformable
๏ Commands to the
High resolution camera Wavefront sensor Deformable mirror Disturbed wavefront Corrected wavefront Beam- splitter Real-time controller Loop closed Loop open
6
๏ Example with observations of the moon using a 8m telescope
7
๏ 39m diameter telescope : x5 in diameter
๏ 100m dome, 2800 tones structure
๏ 1.2 G€ project, first light foreseen in
๏ Construction led by ESO (European
๏ Telescope components + science
8
๏ Compensate in real-time
๏ Using a wavefront
๏ Using a deformable
๏ Commands to the
High resolution camera Wavefront sensor Deformable mirror Disturbed wavefront Corrected wavefront Beam- splitter Real-time controller Loop closed Loop open
9
๏ Highly heterogeneous HPC facility
10
๏ Goal : prototype a generic RTC for the next generation
๏ 4 partners in Europe (2 academic partners + 2 SMEs), project
๏ Assess various technologies (CPUs, GPUs, FPGAs) for the
๏ Assemble a full featured prototype in the lab by 2018 ๏
11
๏ AO system components for the E-ELT are not yet available
๏ High framerate low noise cameras under development ๏ High density deformable mirror under construction,
๏ Need to emulate these components to work in the lab
Credits : Microgate
12
๏ Liquid Crystal On Silicon : reflective Spatial Light Modulator ๏ Changes the phase of light without any change in intensity
๏ LC controlled pixel by pixel by applied voltage using CMOS
๏ Controlled through
๏ Large number of pixels
๏ 120 FPS (DVI),
Credits : Hamamatsu
13
๏ Integration of a pyramid wavefront sensor demonstrator
Credits : S. Egner
14
๏ Integration of a pyramid wavefront sensor demonstrator ๏ Using a 10 GbE camera from Emergent Vision Technologies
๏ Zoom optics : allows for various pupil samplings, i.e. various
15
๏ Emulate a simple AO loop Get wavefront measurements Reconstruct the phase High framerate, low latency data acquisition Map wavefront to given DM geometry
RTC
16
๏ Custom RTC demonstrator ๏ High end dual GPU server
17
๏ Critical aspect : low latency data acquisition from the camera ๏ Using an off-the-shelf frame grabber ๏ Very high jitter in performance
GPU DDR Mem. Serial interface PCIe bus FPGA DMA engine DDR Mem. CPU DDR Mem. 10 Gbe Frame-grabber Pixel data
18
๏ Using GPU direct + persistent kernels : reduce jitter, i.e. ensure
GPU DDR Mem. Serial interface PCIe bus FPGA DMA engine DDR Mem. CPU DDR Mem. 10 Gbe Frame-grabber Pixel data
Comp Comp Comp Comp Comp Comp Cpy Comp Comp Comp Comp Cpy Cpy Cpy Cpy Cpy Cpy Cpy Cpy Cpy Timeline for standard kernel call Timeline for persistent kernel call
19
๏ Custom frame grabber : developped in collaboration with PLDA ๏ Based on Altera Stratix V board ๏ Using PLDA development tools
๏ Multiple DMA engines
UDP0 DEMUX Signal TAP Logic Analyzer FIFO Data Generator DMA0 DMA1 DMA3 Address Translation PHY QuickPCIe QuickUDP App config Custom 10 Gbe GigeVision Framegrabber Buffer CPU Buffer GPU DMA2 Buffer CPU Buffer CPU GVCP GVSP GVCP Registers DEC
PHY UDP1 QuickUDP FIBRE
20
๏ Close the loop and demonstrate
๏ Build a scaled down prototype
๏ Compare performance of GPU
๏ Have more fun !
21
๏ Next generation of large ground based telescope will require AO
๏ Several generations of instruments => several system dimensioning ๏ GPUs are good candidates to build the real-time controllers for these
๏ Single board performance + scalability
๏ Requires full control over pixels data acquisition to get deterministic
๏ GPUs are also used to simulate systems performance and lead trade-off
๏
22