For consistency. This file contains all functionality that depends on CUDA. cpp file contains only function that doesn't requre CUDA (like sub-matrix retrieving).