Is there an equivalent to cudaUnbindTexture() in the driver API? If not, is it sufficient to just cuMemFree() the device memory a given CUtexref is bound to (via cuTexRefSetAddress())?
Thanks!
PS: I can’t use the forum search with neither Safari not Firefox, so please bear with me if this question got answered earlier…
Is there an equivalent to cudaUnbindTexture() in the driver API? If not, is it sufficient to just cuMemFree() the device memory a given CUtexref is bound to (via cuTexRefSetAddress())?
Thanks!
PS: I can’t use the forum search with neither Safari not Firefox, so please bear with me if this question got answered earlier…
I found a topic that suggests to call cuTexRefSetAddress() with a NULL pointer to unbind a given texture - an idea I already contemplated myself (and didn’t “dare” to try)… Is this the only and possibly recommended way of doing it?
I found a topic that suggests to call cuTexRefSetAddress() with a NULL pointer to unbind a given texture - an idea I already contemplated myself (and didn’t “dare” to try)… Is this the only and possibly recommended way of doing it?