Libcusmm: Add mediumDB kernel
Improved Makefile integration of libcusmm