Usr/include/c++/11/tuple(1432): error: type name is not allowed

hello
when i try to use cuda to accelrate my project,the error occurs when i find this

how can i fix it

If you think this is related to CUDA headers interfering with C++ standard library headers, try changing the order of include directives.

Include CUDA headers last, after all the other headers. This can get tricky if a header file itself pulls in CUDA headers and the header file is included elsewhere.