Have nvptx write to memory instead of file