Hey guys, I want to compile my cuda code to a shared library. So it can be invoked by other c++ code.
As already know,
So I try to add a thread_local to texture,
thread_local texture<float, 2, cudaReadModeElementType> texSrc_32f
But it returns an error,
Is there any key words to reach the target like “thread_local” in cuda?