SystemsGenetics / ACE

Accelerated Computational Engine (ACE) is a GPU-enabled framework to simplify creation of GPU-capable applications
http://SystemsGenetics.github.io/ACE
GNU General Public License v2.0
1 stars 1 forks source link

Added setAttribute() to CUDA::Kernel #97

Closed bentsherman closed 5 years ago

bentsherman commented 5 years ago

Adds a wrapper method to cuFuncSetAttribute(), which is helpful for experimenting with some low-level device settings. In modern NVIDIA GPUs, the shared memory and L1 cache share the same hardware and you can control how much is alloted for each type. This method allows me to experiment with devoting all of the memory to L1 cache since the GMM kernel doesn't use shared memory.