RSE-Sheffield/COMCUDA_labs

Lab07_sln Ex1 Deprecation warning

Robadob opened this issue · 0 comments

Deprecated __shfl_down() is used, need to check lecture notes/lab sheet.

1>------ Rebuild All started: Project: Lab07_Exercise01, Configuration: Debug x64 ------
1>Compiling CUDA source file exercise01_sln.cu...
1>
1>U:\COMCUDA_labs\Lab07_Exercise01>"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\Lab07_Exercise01\x64\Debug\exercise01_sln.cu.obj "U:\COMCUDA_labs\Lab07_Exercise01\exercise01_sln.cu"
1>U:\COMCUDA_labs\Lab07_Exercise01\kernels.cuh(149): warning #1444-D: function "__shfl_down(float, unsigned int, int)"
1>C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\include\sm_30_intrinsics.hpp(207): here was declared deprecated ("__shfl_down() is deprecated in favor of __shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
1>
1>U:\COMCUDA_labs\Lab07_Exercise01\kernels.cuh(150): warning #1444-D: function "__shfl_down(int, unsigned int, int)"
1>C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\include\sm_30_intrinsics.hpp(169): here was declared deprecated ("__shfl_down() is deprecated in favor of __shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
1>
1>ptxas C : /Users/ac1rch/AppData/Local/Temp/tmpxft_00003314_00000000-7_exercise01_sln.ptx, line 170; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
1>ptxas C : /Users/ac1rch/AppData/Local/Temp/tmpxft_00003314_00000000-7_exercise01_sln.ptx, line 206; warning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in a future PTX ISA version
1>exercise01_sln.cu
1>Done building project "Lab07_Exercise01.vcxproj".
1>Lab07_Exercise01.vcxproj -> U:\COMCUDA_labs\x64\Debug\Lab07_Exercise01.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.
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========