[CUDA] Texture copies work, texture read/write seems to work in the kernel but it still crashes (size is not properly defined?)