SlideServe
Menu
Préférences
© SlideServe · v2026

Semantics Consistent Parallelism

dolph avatar
17 diapositives · 340 Views · Sep 01, 2014

Semantics Consistent Parallelism. Li-Yi Wei Microsoft Research. Parallelism. parallel. parallel. parallel. Traditional parallelization. Sequential consistency [Lampert] parallel algorithms do NOT change result sorting, FFT, matrix, etc. sort. New parallelization (cheating).

Semantics Consistent Parallelism - slide 1
01 / 17Semantics Consistent Parallelism
1 / 17

Télécharger la présentation

Semantics Consistent Parallelism
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Semantics Consistent Parallelism Li-Yi Wei Microsoft Research

  2. Parallelism parallel parallel parallel

  3. Traditional parallelization • Sequential consistency [Lampert] • parallel algorithms do NOT change result • sorting, FFT, matrix, etc. sort

  4. New parallelization (cheating) • Not all algorithms need to be seq-consistent • perception (graphics/vision/image/video), statistics • approximate solutions might suffice → more parallel • Semantic consistency

  5. Pseudo Random Number Generator • The main source of randomness in programs • e.g. rand() in c/c++ • Desirable properties • white noise statistics • repeatable, fast computation • Traditional sequential method • e.g. xn = (a xn-1 + b) mod c

  6. input trivially prepared in parallel, e.g. linear ramp feed input value into hash, independently & in parallel output white noise key idea: borrow cryptographic hash! [Tzeng and Wei I3D 2008] Parallel PRNG input hash output

  7. How to start a bar flight

  8. How to stop the bar flight Parallel GPU run time (slow motion) 4M Poisson disk samples / sec in parallel!

  9. Poisson disk sampling • A set of samples that are as random as possible remain a minimum distance r away from each other • Why pick this problem? important algorithm - sampling, graphics, statistics seemly non-parallelizable

  10. Loop: random sample from the entire domain accept sample if not in conflict with existing ones O High quality ground truth X Slow speed inherently sequential Dart throwing [Cook 1986]

  11. Parallel Poisson disk sampling[Wei SIGGRAPH 2008] • Samples from a grid • 1 sample per grid cell • Sample grid cells far apart in parallel • Watch out for bias! • Tricks to avoid bias

  12. Image cloning

  13. http://www.freewebs.com/cheesesandwiches/cloning.jpg http://mahboubian.googlepages.com/dog-bird.jpg

  14. Poisson image editing[Perez et al. SIGGRAPH 2003] • State-of-art for image cloning + other stuff • Solving Poisson equation • interior detail (source) • boundary condition (target) • Heavy computation

  15. Coordinate interpolation • [Farbman et al. SIGGRAPH 2009] • p = ∑ wibi • Easy computation • Run parallel on a GPU

  16. Summary • Conclusion • sequential consistency too strict • semantic consistency (perceptual, statistical, etc) • Future work • parallelism via semantic consistency • individual algorithms / applications • general methodology?