RSE-Sheffield / COMCUDA_labs

Lab source and solutions for COM4521 and COM6521
2 stars 0 forks source link

Lab06_sln Ex2 Deprecation Warning #4

Closed Robadob closed 1 year ago

Robadob commented 1 year ago

Deprecated cudaThreadSynchronize() is used. There is no src for this exercise, will need to check the lab sheet.

Build started...
1>------ Build started: Project: Lab06_Exercise02, Configuration: Debug x64 ------
1>Compiling CUDA source file exercise02_sln.cu...
1>
1>U:\COMCUDA_labs\Lab06_Exercise02>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin\nvcc.exe" -gencode=arch=compute_52,code=\"sm_52,compute_52\" --use-local-env -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64" -x cu   -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\include"  -G   --keep-dir x64\Debug  -maxrregcount=0  --machine 64 --compile -cudart static  -g  -DWIN32 -DWIN64 -D_DEBUG -D_CONSOLE -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Od /Fdx64\Debug\vc143.pdb /FS /Zi /RTC1 /MDd " -o U:\COMCUDA_labs\Lab06_Exercise02\x64\Debug\exercise02_sln.cu.obj "U:\COMCUDA_labs\Lab06_Exercise02\exercise02_sln.cu"
1>exercise02_sln.cu
1>U:\COMCUDA_labs\Lab06_Exercise02\exercise02_sln.cu(144): warning C4996: 'cudaThreadSynchronize': was declared deprecated
1>Done building project "Lab06_Exercise02.vcxproj".
1>Lab06_Exercise02.vcxproj -> U:\COMCUDA_labs\x64\Debug\Lab06_Exercise02.exe
1>copy "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin\cudart*.dll" "U:\COMCUDA_labs\x64\Debug\"
1>C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin\cudart32_110.dll
1>C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin\cudart64_110.dll
1>        2 file(s) copied.
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========