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

DeepDetect builds with TENSORRT_OSS do require CUDA 10.2 #811

Open
beniz opened this issue Sep 15, 2020 · 2 comments
Open

DeepDetect builds with TENSORRT_OSS do require CUDA 10.2 #811

beniz opened this issue Sep 15, 2020 · 2 comments
Assignees

Comments

@beniz
Copy link
Collaborator

beniz commented Sep 15, 2020

Otherwise the build error is as follows:

deepdetect/build/tensorrt-oss/src/tensorrt-oss/samples/common/sampleDevice.h:189:56: error: ‘cudaStreamCaptureModeGlobal’ was not declared in this scope
         cudaCheck(cudaStreamBeginCapture(stream.get(), cudaStreamCaptureModeGlobal));
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
deepdetect/build/tensorrt-oss/src/tensorrt-oss/samples/common/sampleDevice.h:189:56: note: suggested alternative: ‘cudaStreamCaptureStatusNone’
         cudaCheck(cudaStreamBeginCapture(stream.get(), cudaStreamCaptureModeGlobal));
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                        cudaStreamCaptureStatusNone

FTR this also appears here: triton-inference-server/server#635

Using CUDA 10.2 fixes the issue. A check for CUDA 10.2 is probably needed in the CMakeFile to catch the issue much earlier.

@YaYaB
Copy link
Contributor

YaYaB commented Nov 20, 2020

According to the issue on triton-infenrence-server it should work with cuda 10.1 no?

@beniz
Copy link
Collaborator Author

beniz commented Nov 20, 2020

dk, 10.1 is deprecated for us, and I don't believe we are using it anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants