Fixed pointers
Added cuda runtime