Fixed to_space_size issue

Added cuContext Management