Skip to content

Instantly share code, notes, and snippets.

View mrprajesh's full-sized avatar
😎
Busy coding 🥇

Rajesh Pandian M mrprajesh

😎
Busy coding 🥇
View GitHub Profile
@dougallj
dougallj / 0-readme.txt
Last active February 26, 2025 08:11
Intel/AGX ternary logic optimisation tables (VPTERNLOGD -> AGX/x86/BMI/SSE2)
Usage: evaluate a ternary bitwise function with the values a=0xf0, b=0xcc, c=0xaa.
On AVX-512 you can pass the result directly to VPTERNLOGD. On other platforms,
look up the value in the following tables to find a short, equivalent sequence of
operations.
For A64/SVE/Neon see https://gist.github.com/dougallj/10c3ffdbd07229db2cc8b0430d7ccd39
The tables here are:
* agx: "not" and all binary operations (as used in Apple GPUs, but possibly useful elsewhere):
@jmftrindade
jmftrindade / copilot_neovim.md
Last active March 23, 2023 02:22
Install + setup github Copilot for Neovim on Ubuntu

Assumes:

  1. You already have access to github's Copilot (Copilot Chat is not yet available for neovim as of Mar 22nd 2023).
  2. Ubuntu 20.04+ (should work for other Debian distros as well).
  3. If you were using vim before, that your .vimrc does not rely on features that are not supported by neovim. I use powerline and YouCompleteme for vim, which don't vibe with neovim, so I had to make a couple of changes to my .vimrc. Take a look at this commit for an example on how to do that.

Step 1 - Install Neovim

Docs

@denguir
denguir / cuda_install.md
Last active June 2, 2025 07:08
Installation procedure for CUDA / cuDNN / TensorRT

How to install CUDA / cuDNN / TensorRT on Ubuntu

Install NVIDIA drivers

Update & upgrade

sudo apt update && sudo apt upgrade

Remove previous NVIDIA installation

@jacobtomlinson
jacobtomlinson / README.md
Last active July 3, 2025 17:10
Example of using SSH and nvidia-smi to show GPU utilization on a compute cluster

GPU Utilization CLI demo

A fun little CLI tool to gather and disiplay GPU utilization for nodes in a cluster.

image

Inspired by this LinkedIn post.

Usage