some tools to work with cuda