Skip to content

Instantly share code, notes, and snippets.

View agirault's full-sized avatar
👨‍💻

Alexis Girault agirault

👨‍💻
View GitHub Profile
@agirault
agirault / cuda_sm_compatibility_matrix.md
Created May 7, 2025 20:18
Compatibility matrix between CUDA (nvcc) version and sm arch version - auto-generated
CUDA Ver \ SM Arch sm_30 sm_32 sm_35 sm_37 sm_50 sm_52 sm_53 sm_60 sm_61 sm_62 sm_70 sm_72 sm_75 sm_80 sm_86 sm_87 sm_89 sm_90 sm_100 sm_101 sm_103 sm_120 sm_121
12.9 X X X X X X X X X X X X X X X X X X X
12.8 X X X X X X X X X X X X X X X X X
12.6 X X X X X X X X X X X X X X
#!/bin/bash
set -ex
set -o pipefail
# Check for sudo
if [[ $EUID -eq 0 ]]; then
echo "This script must not be run as root"
exit 1
fi
@agirault
agirault / .gitconfig
Last active April 4, 2025 18:19
Some git aliases
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[alias]
graph = log --graph --decorate --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
lg = graph --first-parent
merges = lg --merges
amend = commit --amend --no-edit --signoff