You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[bug]cannot use thread_local specifier for a __constant__ variable ConsoleApplication1 E:\Desktop\VS-Test\09\ConsoleApplication1\popsift\gauss_filter.cu 21
#138
Open
MinYang-01 opened this issue
Jan 11, 2022
· 2 comments
Describe the bug
A clear and concise description of what the bug is.
***[bug1]. cannot use thread_local specifier for a constant variable ConsoleApplication1 E:\Desktop\VS-Test\09\ConsoleApplication1\popsift\gauss_filter.cu 21
***[bug2]. error C2086 "popsift::GaussInfo popsift::d_gauss": redefine ConsoleApplication1 E:\Desktop\VS-Test\09\ConsoleApplication1\popsift\gauss_filter.cu 19
***[bug3]. error MSB3721 common“"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe" -gencode=arch=compute_50,code="sm_50,compute_50" --use-local-env -ccbin "C:\works\VS_Community\VC\Tools\MSVC\14.27.29110\bin\HostX86\x64" -x cu -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -G --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart static -g -D_DEBUG -D_CONSOLE -D_UNICODE -DUNICODE -Xcompiler "/EHsc /W3 /nologo /Od /Fdx64\Debug\vc142.pdb /FS /Zi /RTC1 /MDd " -o x64\Debug\gauss_filter.cu.obj "E:\Desktop\VS-Test\09\ConsoleApplication1\popsift\gauss_filter.cu"”已退出,返回代码为 1。 ConsoleApplication1 C:\works\VS_Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA 10.2.targets 764
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
***The development environment I am using is
Windows10+VS2019+MSVC14.2+Cuda10.2
The GPU hardware used is GTX950M
During the compilation of your source code, the problem encountered in the gauss_filter.cu file is
“cannot use thread_local specifier for a constant variable ConsoleApplication1 E:\Desktop\VS Test\09\ConsoleApplication1\popsift\gauss_filter.cu 21”
Screenshots
If applicable, add screenshots to help explain your problem.
Log
If applicable, copy paste the relevant log output (please embed the text in a markdown code tag "```" )
Desktop (please complete the following and other pertinent information):
OS: [e.g. win 10, osx, ]
PopSift version: please specify if you are using a release version or your own build
Binary version (if applicable) [e.g. 2019.1]
Commit reference (if applicable) [e.g. 08ddbe2]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
A clear and concise description of what the bug is.
***[bug1]. cannot use thread_local specifier for a constant variable ConsoleApplication1 E:\Desktop\VS-Test\09\ConsoleApplication1\popsift\gauss_filter.cu 21
***[bug2]. error C2086 "popsift::GaussInfo popsift::d_gauss": redefine ConsoleApplication1 E:\Desktop\VS-Test\09\ConsoleApplication1\popsift\gauss_filter.cu 19
***[bug3]. error MSB3721 common“"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe" -gencode=arch=compute_50,code="sm_50,compute_50" --use-local-env -ccbin "C:\works\VS_Community\VC\Tools\MSVC\14.27.29110\bin\HostX86\x64" -x cu -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -G --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart static -g -D_DEBUG -D_CONSOLE -D_UNICODE -DUNICODE -Xcompiler "/EHsc /W3 /nologo /Od /Fdx64\Debug\vc142.pdb /FS /Zi /RTC1 /MDd " -o x64\Debug\gauss_filter.cu.obj "E:\Desktop\VS-Test\09\ConsoleApplication1\popsift\gauss_filter.cu"”已退出,返回代码为 1。 ConsoleApplication1 C:\works\VS_Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA 10.2.targets 764
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
***The development environment I am using is
Windows10+VS2019+MSVC14.2+Cuda10.2
The GPU hardware used is GTX950M
During the compilation of your source code, the problem encountered in the gauss_filter.cu file is
“cannot use thread_local specifier for a constant variable ConsoleApplication1 E:\Desktop\VS Test\09\ConsoleApplication1\popsift\gauss_filter.cu 21”
Screenshots
If applicable, add screenshots to help explain your problem.
Log
If applicable, copy paste the relevant log output (please embed the text in a markdown code tag "```" )
Desktop (please complete the following and other pertinent information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: