Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated Functions in Cuda v10.0 Issue #997

Open
adam-hartshorne opened this issue Sep 22, 2018 · 1 comment
Open

Deprecated Functions in Cuda v10.0 Issue #997

adam-hartshorne opened this issue Sep 22, 2018 · 1 comment

Comments

@adam-hartshorne
Copy link

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'
@jtran56
Copy link

jtran56 commented Sep 25, 2018

Filed as internal issue #OSD-242.

c64kernal added a commit to c64kernal/OpenSubdiv that referenced this issue Mar 2, 2019
As mentioned in issue PixarAnimationStudios#997, OpenSubdiv still uses CUDA functionality
that is being deprecated.  When warnings are treated as errors, this
can make OpenSubdiv fail to compile.  For now, we turn off these
deprecation warnings until we can address them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants