OpenSubdiv
OpenSubdiv copied to clipboard
Deprecated Functions in Cuda v10.0 Issue
Looks like Opensubdiv uses a few functions that are now deprecated in Cuda v10.0
examples\common\cudadevicecontext.cpp(139): error C2220: warning treated as error - no 'object' file generated
examples\common\cudadevicecontext.cpp(139): warning C4996: 'cudaGLSetGLDevice': was declared deprecated
10>c:\program files\nvidia gpu computing toolkit\cuda\v10.0\include\cuda_gl_interop.h(305): note: see declaration of 'cudaGLSetGLDevice'
examples\common\cudadevicecontext.cpp(148): warning C4996: 'cudaD3D11SetDirect3DDevice': was declared deprecated
10>c:\program files\nvidia gpu computing toolkit\cuda\v10.0\include\cuda_d3d11_interop.h(314): note: see declaration of 'cudaD3D11SetDirect3DDevice'
opensubdiv\osd\cudaevaluator.cpp(379): error C2220: warning treated as error - no 'object' file generated
opensubdiv\osd\cudaevaluator.cpp(379): warning C4996: 'cudaThreadSynchronize': was declared deprecated
9>c:\program files\nvidia gpu computing toolkit\cuda\v10.0\include\cuda_runtime_api.h(947): note: see declaration of 'cudaThreadSynchronize'
Filed as internal issue #OSD-242.