- 2011 - A trip through the Graphics Pipeline 2011
- 2015 - Life of a triangle - NVIDIA's logical pipeline
- 2015 - Render Hell 2.0
- 2016 - How bad are small triangles on GPU and why?
- 2017 - GPU Performance for Game Artists
- 2019 - Understanding the anatomy of GPUs using Pokémon
- 2020 - GPU ARCHITECTURE RESOURCES
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
import haxe.io.Bytes; | |
import lime.utils.UInt8Array; | |
import lime.graphics.Image; | |
import lime.graphics.ImageBuffer; | |
import openfl.Assets.AssetLibrary; | |
import openfl.Assets; | |
import openfl.Lib; | |
import openfl.utils.ByteArray; |
Podman is such a cool project! However, there is no easy way to setup the nvidia-container-runtime and podman so that we can run unprivileged container in a gpu host. This is specially interesting in environments with multiple people accessing the same host (strong isolation between containers!!!).
- Install podman and friends (buildah and skopeo)
Ubuntu: add-apt-repository -y ppa:projectatomic/ppa && apt install podman buildah skopeo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
vpn: | |
image: qmcgaw/gluetun | |
container_name: vpn | |
cap_add: | |
- NET_ADMIN | |
ports: | |
- 8888:8888/tcp # HTTP proxy | |
- 8388:8388/tcp # Shadowsocks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![feature(fn_traits, unboxed_closures)] | |
macro_rules! orelse { | |
(($($lhs:tt)+), $rhs:tt) => {$($lhs)+}; | |
((), ($($rhs:tt)*)) => {$($rhs)*} | |
} | |
macro_rules! overload { | |
( | |
$v:vis fn $fn_name:ident { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Changed Jan 29, 2025 to accomodate latest Zig changes | |
// See history if you're using an older version of Zig. | |
// in your build.zig, you can specify a custom test runner: | |
// const tests = b.addTest(.{ | |
// .target = target, | |
// .optimize = optimize, | |
// .test_runner = .{ .path = b.path("test_runner.zig"), .mode = .simple }, // add this line | |
// .root_source_file = b.path("src/main.zig"), | |
// }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import time | |
import math | |
import pickle | |
from contextlib import nullcontext | |
from pathlib import Path | |
import subprocess | |
from dataclasses import dataclass | |
import inspect |