oddity-ai / async-tensorrt Goto Github PK
View Code? Open in Web Editor NEWAsynchronous TensorRT for Rust.
License: Apache License 2.0
Asynchronous TensorRT for Rust.
License: Apache License 2.0
CUDA version: 11.8
TensorRT version: 8.6.1.6
Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133
This is the run command for cargo
PS C:\Users\Air\Desktop\esp32-PC\tensorrt_test> cargo run
Compiling async-cuda v0.5.4
error: failed to run custom build command for `async-cuda v0.5.4`
Caused by:
process didn't exit successfully: `C:\Users\Air\Desktop\esp32-PC\tensorrt_test\target\debug\build\async-cuda-a50648a75c46a969\build-script-build` (exit code: 1)
--- stderr
error occurred: ToolExecError: Command "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "C:\\Users\\Air\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\async-cuda-0.5.4" "-I" "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\include" "-W4" "-FoC:\\Users\\Air\\Desktop\\esp32-PC\\tensorrt_test\\target\\debug\\build\\async-cuda-0463233dbc553d67\\out\\f0c688040426f727-cpp_closures.o" "-c" "C:\\Users\\Air\\Desktop\\esp32-PC\\tensorrt_test\\target\\debug\\build\\async-cuda-0463233dbc553d67\\out\\rust_cpp\\cpp_closures.cpp" with args "cl.exe" did not execute successfully (status code exit code: 2).
This is the error I manually compiled for
tensorrt_test\target\debug\build\async-cuda-0463233dbc553d67\out\rust_cpp\cpp_closures.cpp
Here is the error message
PS C:\Users\Air\Desktop\esp32-PC\tensorrt_test\target\debug\build\async-cuda-0463233dbc553d67\out\rust_cpp> cl -nologo -MD -Z7 -Brepro -I C:/Users/Air/.cargo/registry/src/github.com-1ecc6299db9ec823/async-cuda-0.5.4 -I C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include -W4 C:/Users/Air/Desktop/esp32-PC/tensorrt_test/target/debug/build/async-cuda-0463233dbc553d67/out/f0c688040426f727-cpp_closures.o -c C:/Users/Air/Desktop/esp32-PC/tensorrt_test/target/debug/build/async-cuda-0463233dbc553d67/out/rust_cpp/cpp_closures.cpp
cl: 命令行 warning D9024 :无法识别的源文件类型“Files/NVIDIA”,假定为对象文件
cl: 命令行 warning D9027 :源文件“Files/NVIDIA”被忽略
cl: 命令行 warning D9024 :无法识别的源文件类型“GPU”,假定为对象文件
cl: 命令行 warning D9027 :源文件“GPU”被忽略
cl: 命令行 warning D9024 :无法识别的源文件类型“Computing”,假定为对象文件
cl: 命令行 warning D9027 :源文件“Computing”被忽略
cl: 命令行 warning D9024 :无法识别的源文件类型“Toolkit/CUDA/v11.8/include”,假定为对象文件
cl: 命令行 warning D9027 :源文件“Toolkit/CUDA/v11.8/include”被忽略
cl: 命令行 warning D9024 :无法识别的源文件类型“C:/Users/Air/Desktop/esp32-PC/tensorrt_test/target/debug/build/async-cuda-0463233dbc553d67/out/f0c688040426f727-cpp_closures.o”,假定为对象文件
cl: 命令行 warning D9027 :源文件“C:/Users/Air/Desktop/esp32-PC/tensorrt_test/target/debug/build/async-cuda-0463233dbc553d67/out/f0c688040426f727-cpp_closures.o”被忽略
cpp_closures.cpp
src\ffi\stream.rs(181): error C2065: “unused”: 未声明的标识符
src\ffi\stream.rs(181): error C3861: “__attribute__”: 找不到标识符
src\ffi\stream.rs(181): error C2146: 语法错误: 缺少“)”(在标识符“cudaStream_t”的前面)
src\ffi\stream.rs(184): error C2143: 语法错误: 缺少“;”(在“{”的前面)
src\ffi\stream.rs(184): error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
src\ffi\stream.rs(84): error C2065: “cuda_ffi_Callback”: 未声明的标识符
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.