Skip to content

Instantly share code, notes, and snippets.

View ChrisKitching's full-sized avatar

Chris Kitching ChrisKitching

View GitHub Profile
@ChrisKitching
ChrisKitching / manmem.cu
Last active May 13, 2026 18:55
Managed memory microbenchmark (HIP vs. SCALE)
#ifdef __HIP__
#include <hip/hip_runtime.h>
#define cudaError_t hipError_t
#define cudaSuccess hipSuccess
#define cudaMalloc hipMalloc
#define cudaMallocManaged hipMallocManaged
#define cudaDeviceSynchronize hipDeviceSynchronize
#endif
#include <linux/mman.h>
@ChrisKitching
ChrisKitching / Git_Configuration_Hints.md
Created July 26, 2018 15:40
Git Configuration Hints

Git Configuration

Suggested git configuration options (put in ~/.gitconfig).

Nicer teminal output

Enables colour and columnised output when output is to a terminal.

[color]

Keybase proof

I hereby claim:

  • I am ChrisKitching on github.
  • I am ckitching (https://keybase.io/ckitching) on keybase.
  • I have a public key whose fingerprint is 606B C9CA 4847 BBCF BA82 A2E7 332E 9EC8 C8C3 3B2D

To claim this, I am signing this object: