diff --git a/libautoscoper/src/gpu/cuda/cutil/cutil_create_tex_obj.h b/libautoscoper/src/gpu/cuda/cutil/cutil_create_tex_obj.h index a429876a..0b81a32c 100644 --- a/libautoscoper/src/gpu/cuda/cutil/cutil_create_tex_obj.h +++ b/libautoscoper/src/gpu/cuda/cutil/cutil_create_tex_obj.h @@ -19,6 +19,7 @@ inline cudaTextureObject_t createTexureObjectFromArray(cudaArray* arr, cudaTextu texDesc.filterMode = cudaFilterModeLinear; texDesc.addressMode[0] = cudaAddressModeClamp; texDesc.addressMode[1] = cudaAddressModeClamp; + texDesc.addressMode[2] = cudaAddressModeClamp; texDesc.readMode = readMode; cudaTextureObject_t tex = 0;