OpenSubdiv icon indicating copy to clipboard operation
OpenSubdiv copied to clipboard

Deprecated Functions in Cuda v10.0 Issue

Open adam-hartshorne opened this issue 6 years ago • 1 comments

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'

adam-hartshorne avatar Sep 22 '18 12:09 adam-hartshorne

Filed as internal issue #OSD-242.

jtran56 avatar Sep 25 '18 19:09 jtran56