A library for intercepting CUDA runtime calls with LD_PRELOAD