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

Cannot compile on Jetpack 6.1 #21

Open
0ct0cat opened this issue Jan 23, 2025 · 0 comments
Open

Cannot compile on Jetpack 6.1 #21

0ct0cat opened this issue Jan 23, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@0ct0cat
Copy link

0ct0cat commented Jan 23, 2025

src/TRTEngine.cpp: In member function ‘size_t nvocdr::TRTEngine::getTrtIoTensorDtypeSizeByName(std::string&)’:
src/TRTEngine.cpp:187:33: error: ‘class nvinfer1::ICudaEngine’ has no member named ‘getBindingIndex’
  187 |     int bindingIndex = mEngine->getBindingIndex(tensorName.c_str());
      |                                 ^~~~~~~~~~~~~~~
src/TRTEngine.cpp:192:44: error: ‘class nvinfer1::ICudaEngine’ has no member named ‘getBindingDataType’; did you mean ‘getTensorDataType’?
  192 |     nvinfer1::DataType dataType = mEngine->getBindingDataType(bindingIndex);
      |                                            ^~~~~~~~~~~~~~~~~~
      |                                            getTensorDataType
make: *** [Makefile:93: chobj/TRTEngine.o] Error 1

It seems that the API of TRT-8.0 is used, which makes it impossible to compile on TRT-10.

@Tyler-D Tyler-D added the bug Something isn't working label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants