Leios Labs
Leios Labs
  • Видео 27
  • Просмотров 7 064 503
Introduction to kernel (GPU) programming in Julia with an NBody simulation
This is a lecture I did recently at MIT. I was a little low energy, but thought the lecture turned out reasonably well and certainly had information that is hard to find elsewhere.
I edited it to remove faces and names (except Valentin, who is a core developer of the Julia language and a personal friend of mine).
Final code here: github.com/leios/simuleios/blob/master/nbody/nbody.jl
00:00 Introduction
01:25 GPUs in Julia
11:52 Nbody intro
15:55 NBody implementation
51:15 CPU parallelization
57:45 KernelAbstractions start
1:20:27 CPU GPU profiling
1:23:17 Discussion
Просмотров: 2 922

Видео

My Carry-on Computer
Просмотров 21 тыс.2 года назад
Patreon: www.patreon.com/leiosos Github sponsors (Patreon for code): github.com/sponsors/leios Twitch: www.twitch.tv/leioslabs Discord: discord.gg/QctJhUA Github: github.com/leios Music: www.joshwoodward.com/ Wall of thanks (patreon supporters): Mossy Fogarty Valentin Churavy Jérémie Mutual Information Ahmed Hesham Reza Salari
Barnsley ferns, but actually explaining each function
Просмотров 21 тыс.3 года назад
www.algorithm-archive.org/contents/barnsley/barnsley.html Patreon: www.patreon.com/leiosos Github sponsors (Patreon for code): github.com/sponsors/leios Twitch: www.twitch.tv/leioslabs Discord: discord.gg/QctJhUA Github: github.com/leios Music: www.joshwoodward.com/ Wall of thanks (patreon supporters): Mossy Fogarty Valentin Churavy Jérémie Mutual Information Ahmed Hesham
I coded a workout
Просмотров 8 тыс.3 года назад
Patreon: www.patreon.com/leiosos Github sponsors (Patreon for code): github.com/sponsors/leios Twitch: www.twitch.tv/leioslabs Discord: discord.gg/QctJhUA Github: github.com/leios Music: www.joshwoodward.com/ Wall of thanks (patreon supporters): Mossy Fogarty Valentin Churavy Mutual Information
Christianity's most important algorithm
Просмотров 13 тыс.3 года назад
Algorithm Archive: www.algorithm-archive.org/contents/computus/computus.html Github sponsors (Patreon for code): github.com/sponsors/leios Patreon: www.patreon.com/leiosos Twitch: www.twitch.tv/leioslabs Discord: discord.gg/QctJhUA Github: github.com/leios Music: www.joshwoodward.com/ Wall of thanks (patreon supporters): Mossy Fogarty Mutual Information
What are affine transformations?
Просмотров 87 тыс.3 года назад
Algorithm Archive: www.algorithm-archive.org/contents/affine_transformations/affine_transformations.html Github sponsors (Patreon for code): github.com/sponsors/leios Patreon: www.patreon.com/leiosos Twitch: www.twitch.tv/leioslabs Discord: discord.gg/QctJhUA Github: github.com/leios Music: www.joshwoodward.com/
How does flood fill work?
Просмотров 27 тыс.3 года назад
Algorithm Archive: www.algorithm-archive.org/contents/flood_fill/flood_fill.html Source code: In chapter Github sponsors (Patreon for code): github.com/sponsors/leios Twitch: www.twitch.tv/leioslabs Discord: discord.gg/QctJhUA Github: github.com/leios Music: www.joshwoodward.com/
The Problem with Research Software Engineering
Просмотров 21 тыс.3 года назад
A discussion about how to make research software engineering a bit better! Github sponsors (Patreon for code): github.com/sponsors/leios Twitch: www.twitch.tv/leioslabs Discord: discord.gg/QctJhUA Github: github.com/leios Bibliography [1] joss.theoj.org/papers/10.21105/joss.01037 [2] journals.aps.org/prfluids/abstract/10.1103/PhysRevFluids.4.054701
How to color complex functions [Domain Coloring]
Просмотров 13 тыс.4 года назад
Algorithm Archive: www.algorithm-archive.org/contents/domain_coloring/domain_coloring.html Source code: In chapter Github sponsors (Patreon for code): github.com/sponsors/leios Twitch: www.twitch.tv/leioslabs Discord: discord.gg/QctJhUA Github: github.com/leios Music: www.joshwoodward.com/
How to make fractals by counting
Просмотров 8 тыс.4 года назад
Algorithm Archive: www.algorithm-archive.org Source code: github.com/leios/simuleios/blob/master/fractal/sierpinski.cpp Github sponsors (Patreon for code): github.com/sponsors/leios Twitch: www.twitch.tv/leioslabs Discord: discord.gg/QctJhUA Github: github.com/leios Music: www.joshwoodward.com/
Iterated Function Systems
Просмотров 14 тыс.4 года назад
Algorithm Archive: www.algorithm-archive.org/contents/IFS/IFS.html Source code: github.com/leios/simuleios/blob/master/fractal/sierpinski.cpp Github sponsors (Patreon for code): github.com/sponsors/leios Twitch: iwww.twitch.tv/leioslabs Discord: discord.gg/QctJhUA Github: github.com/leios I know everyone has done videos on a similar topic before, but it is usually through the perspective of cha...
Gaussian Elimination
Просмотров 43 тыс.5 лет назад
Algorithm Archive chapter: www.algorithm-archive.org/contents/gaussian_elimination/gaussian_elimination.html I thought this was a cool visualization to show you guys. Examples of Gaussian Elimination: - math.dartmouth.edu/archive/m23s06/public_html/handouts/row_reduction_examples.pdf - ruclips.net/video/2GKESu5atVQ/видео.html - ruclips.net/video/jOC4fMgl7TI/видео.html Twitch: www.twitch.tv/leio...
Simulating Quantum Systems [Split Operator Method]
Просмотров 31 тыс.5 лет назад
More information here: www.algorithm-archive.org/contents/split-operator_method/split-operator_method.html If you want to contribute, here's the github repo: github.com/algorithm-archivists/algorithm-archive The music came from Josh Woodward: www.joshwoodward.com/ Please feel free to follow me on Twitter: LeiosOS Twitch (where I do all the simulations): www.twitch.tv/leioslabs or Gi...
Verlet Integration
Просмотров 73 тыс.6 лет назад
Here's a video describing a simple method to solve Newton's equations of motion. More info can be found here: www.algorithm-archive.org/chapters/physics_solvers/verlet/verlet.html If you want to contribute, here's the github repo: github.com/algorithm-archivists/algorithm-archive The music came from Josh Woodward (sped up 1.5 times): www.joshwoodward.com/ Please feel free to follow me on Twitte...
Arcane Algorithm Archive Introduction
Просмотров 49 тыс.6 лет назад
Arcane Algorithm Archive Introduction
How algorithms evolve (Genetic Algorithms)
Просмотров 115 тыс.7 лет назад
How algorithms evolve (Genetic Algorithms)
Code Night: Drawing a Heart
Просмотров 14 тыс.7 лет назад
Code Night: Drawing a Heart
Euclid's Amazing Orchard
Просмотров 10 тыс.7 лет назад
Euclid's Amazing Orchard
WorstSort: the WORST sorting algorithm
Просмотров 63 тыс.7 лет назад
WorstSort: the WORST sorting algorithm
Gift Wrapping Algorithm (Convex Hull)
Просмотров 67 тыс.7 лет назад
Gift Wrapping Algorithm (Convex Hull)
Understanding 4D -- The Tesseract
Просмотров 5 млн7 лет назад
Understanding 4D The Tesseract
Socially awkward simulation: Learning to dance with Steve, the Kuramoto oscillator!
Просмотров 20 тыс.7 лет назад
Socially awkward simulation: Learning to dance with Steve, the Kuramoto oscillator!
Color Quantization
Просмотров 16 тыс.7 лет назад
Color Quantization
Impossible lenses
Просмотров 170 тыс.7 лет назад
Impossible lenses
What is a determinant?
Просмотров 384 тыс.7 лет назад
What is a determinant?
What is Monte Carlo?
Просмотров 220 тыс.7 лет назад
What is Monte Carlo?
What is an Eigenvector?
Просмотров 430 тыс.8 лет назад
What is an Eigenvector?

Комментарии

  • @doctrina6927
    @doctrina6927 2 дня назад

    Technically, this is just a 4d object projected onto 3d. It is not possible to see objects in 3d.

  • @usernamingyou
    @usernamingyou 3 дня назад

    dreams are 4D

  • @tapaiferenc577
    @tapaiferenc577 7 дней назад

    Tempertura Sam similar!

  • @nathanielgrimaldo3519
    @nathanielgrimaldo3519 7 дней назад

    Now... Can u do 5 dimensions pls?

  • @ajay_gurung
    @ajay_gurung 8 дней назад

    Simple and easy to understand 👏

  • @princesspumpkinpanty
    @princesspumpkinpanty 8 дней назад

    my farts have been getting increasingly worse

  • @BuShips
    @BuShips 10 дней назад

    This is but one of three 3D objects that can be used as “shadows” of a 4D object. One is the Klein bottle and one that I like also is the Rhombic Dodecahedron. It is an Archimedean solid and one RUclips video states that it is a 3D representation of the SIXTH Platonic Solid.

  • @SNDRU32HLS
    @SNDRU32HLS 14 дней назад

    🥛

  • @EdwardNavu
    @EdwardNavu 14 дней назад

    Each year, the world permutes the permutations obtained from the previous year

  • @openyard
    @openyard 15 дней назад

    Yes, please reload the video without that background music. That noise has made me stop watching this very informative video. But why do uploaders think having background music in videos is beneficial. Some will respond to this comment by saying that they enjoy the music very much that they would advocate having music playing alongside instructor lead class sessions.

    • @LeiosLabs
      @LeiosLabs 15 дней назад

      Hey, just to clarify. This is not an educational video. It was meant as a form of entertainment. I realize now that the background music is distracting and now only use it where it actually adds to the story. tbh, probably going to take this video down in the next few months anyway, so I'm not too interested in trying to reedit a version without background music.

    • @openyard
      @openyard 15 дней назад

      @LeiosLabs well, it is a gem of useful, concise educational material according to several comments.

  • @Kosta-ze5xl
    @Kosta-ze5xl 17 дней назад

    Technically 4 dimensional beings would see in 3D since we can only see in 2D.

  • @anshuprajapati9906
    @anshuprajapati9906 19 дней назад

    Nice animations 👍🏻😵‍💫

  • @TrippleXD545
    @TrippleXD545 21 день назад

    wazzup shaggy 2.0!

  • @fxeditors
    @fxeditors 21 день назад

    😭

  • @skilovontai5460
    @skilovontai5460 26 дней назад

    yall niggas talking bout 4 d objects nah im on 10d objects

  • @AnhTuPhucDerrickHoangCanada
    @AnhTuPhucDerrickHoangCanada 27 дней назад

    what is a winged unicorn clydesdale

  • @real_6iXER
    @real_6iXER Месяц назад

    i just lost pretty much all of my braincells

  • @jannickharambe8550
    @jannickharambe8550 Месяц назад

    came here to understand determinants, now I also understand eigenvectors and values even more. Wow thanks

  • @321ssteeeeeve
    @321ssteeeeeve Месяц назад

    If one could really visualize 4-dimensionally with our lowly brains, they would be hearkeneth unto it at once, seized at heart by a fierce fire, and his heart is tumultuous and overturneth his inmost bowels, and his bile is dissolved within him as to be as water. (I introduced a piece of an ancient text - the Heikhalot Rabbati, as to me this seems to describe what I visualize would happen)

  • @anonymous82783
    @anonymous82783 Месяц назад

    1:19 Question: all the cross sections of a cube are squares with side length equal to the side length of the cube (given that the cross sectional plane is parallel to two of the faces). So why aren't all of the cross-sectional 3D spaces of a tesseract congruent to a cube with side length the same as the tesseract (assuming that the cross-section is parallel to two of the cells)? I think that if a tesseract moved cell-first through the w-axis and through our world, we would see a cube instantly appear and then instantly disappear. There'd be no growing or shrinking like with a hypersphere.

  • @kosovakid1114
    @kosovakid1114 Месяц назад

    0.5<w<0.5

  • @NobodyNobody-ko6dl
    @NobodyNobody-ko6dl Месяц назад

    4D is like shadow and the object...the shadow becoming object the object shedow

  • @wjbkjay23464
    @wjbkjay23464 Месяц назад

    a bungie cord arrangement with little ✈️ airplanes pulling and stretching on the corners, (airplanes not visible) 😂

  • @burhanorfali
    @burhanorfali Месяц назад

    Your work is amazing my friend. Thank you ❤❤

  • @egghead55425
    @egghead55425 Месяц назад

    Wow, great video!

  • @finbala8052
    @finbala8052 Месяц назад

    whats crazy is that we are all living inside one.

  • @user-uj6nj9vo4j
    @user-uj6nj9vo4j Месяц назад

    How the cube is rotatating in the so called 4D manner I was imagining my sock turning inside out..

  • @user-uj6nj9vo4j
    @user-uj6nj9vo4j Месяц назад

    Nice presentation very informative and brain draining

  • @raydden1210
    @raydden1210 Месяц назад

    What size is that case and whT size is the monitor?

  • @andrewthebladethrower8371
    @andrewthebladethrower8371 Месяц назад

    would have been better with no music

  • @TesserId
    @TesserId Месяц назад

    Good stuff, but I was looking for an animation showing the growth of the fern in the way real ferns grow in nature.

  • @tror2285
    @tror2285 Месяц назад

    crystal clear, thank you.

  • @yrbttncrtlrrbttncrtlrr1855
    @yrbttncrtlrrbttncrtlrr1855 Месяц назад

    does it mean that the determinant of a matrix (in dimension 3x3) tell us how much can we magnify another matrix (also 3x3 representing a cube) if we multiply the first one by the second??? If this is it, it´s astounding awesome!!!

  • @darya_vi
    @darya_vi Месяц назад

    That's great! Thank you!

  • @fantasyprone5054
    @fantasyprone5054 Месяц назад

    Yea. So what is those numbers symbols etc 👀

  • @gwenaellepage4450
    @gwenaellepage4450 Месяц назад

    Nice video. Bur please get rid of the annoying musical background, it doesn't bring anything…

  • @ronaldmcisaac
    @ronaldmcisaac Месяц назад

    well, that explains the weird shit on magic mushrooms; I'll just assume those enhanced visual aberrations; maybe fourth dimension beings were passing through my space, like me diving into a bottomless pond

    • @ronaldmcisaac
      @ronaldmcisaac Месяц назад

      now, what do you fourth dimensional beings gravitate toward? why do they move through dimensions? exploring, mapping, etc.

  • @DavidRoigCollell
    @DavidRoigCollell Месяц назад

    Your explanation is incredibly clear. Thank you!!

  • @rickgrimes47
    @rickgrimes47 Месяц назад

    I am thinking of building one but I'll have to improvise because this nanuk 935 is very expensive. It alone will cost more than my entire setup.

    • @LeiosLabs
      @LeiosLabs Месяц назад

      Just make sure whatever you get is sturdy enough. If you don't need to take it on a plane, then liquid cooling can save you some space.

    • @rickgrimes47
      @rickgrimes47 Месяц назад

      @@LeiosLabs Thank you for this video.

  • @panchovilla545
    @panchovilla545 Месяц назад

    Now can you explain 5D objects?

  • @Venaloid
    @Venaloid Месяц назад

    Every laptop I've owned has had some weird firmware issue eventually, so I fully approve of this project.

  • @xungngo
    @xungngo Месяц назад

    now I understand why Thanos really wants this tesseract, it's the confusion stone

  • @xungngo
    @xungngo Месяц назад

    don't let them scare you this is ezpz... show us 13D already

  • @user-xh2ee3lu2n
    @user-xh2ee3lu2n Месяц назад

    Hope your Friday is figured out. What's the best option for someone of your levels computer programming ability offering a zoom or live tutoring session

    • @LeiosLabs
      @LeiosLabs Месяц назад

      Wait, what do you mean? This one was for work for MIT.