ihowson/cub
CUB is a flexible library of cooperative threadblock primitives and other utilities for CUDA kernel programming. This branch adds caching to the cudaFuncGetAttributes call, which massively improves performance for multithreaded applications.