added very basic exception handling for difference in node structure for different CUDA versions