I’ve got an array of texture references of variable length. So my idea is to allocate this array in host code, set filtermode, adressmode etc. and bind it to cudaArrays that reside in device memory. Then I would like to allocate an array of textureReferences in device memory and do a Memcpy of the texture references from host to device.
Will the tex refs in the device mem have all the desired properties after Memcpy. Or in other words: Are bonding information stored in the textureReference struct?