I'm just going crazy now
remember to free gpu-side ptrs