- 2011 - A trip through the Graphics Pipeline 2011
- 2013 - Performance Optimization Guidelines and the GPU Architecture behind them
- 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
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
| // This is for the Zig 0.16. | |
| // See https://gist.github.com/karlseguin/c6bea5b35e4e8d26af6f81c22cb5d76b/eb15512d6ae49663fa9df6c7a9725b20dab43edd | |
| // for a version that workson Zig 0.15.2. | |
| // See https://gist.github.com/karlseguin/c6bea5b35e4e8d26af6f81c22cb5d76b/1f317ebc9cd09bc50fd5591d09c34255e15d1d85 | |
| // for a version that workson Zig 0.14.1. | |
| // in your build.zig, you can specify a custom test runner: | |
| // const tests = b.addTest(.{ |
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 |