File tree 4 files changed +26
-9
lines changed
tensorrt/src/main/java/org/bytedeco/tensorrt/presets
4 files changed +26
-9
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ case $PLATFORM in
46
46
export CMAKE_FLAGS=" -DCMAKE_TOOLCHAIN_FILE=${PLATFORM_ROOT} /build/cmake/android.toolchain.cmake -DANDROID_ABI=x86 -DANDROID_NATIVE_API_LEVEL=24 $CMAKE_FLAGS "
47
47
;;
48
48
android-x86_64)
49
- export CMAKE_FLAGS=" -DCMAKE_TOOLCHAIN_FILE=${PLATFORM_ROOT} /build/cmake/android.toolchain.cmake -DANDROID_ABI=x86_64 -DANDROID_NATIVE_API_LEVEL=24 $CMAKE_FLAGS "
49
+ export CMAKE_FLAGS=" -DCMAKE_TOOLCHAIN_FILE=${PLATFORM_ROOT} /build/cmake/android.toolchain.cmake -DANDROID_ABI=x86_64 -DANDROID_NATIVE_API_LEVEL=24 -DXNNPACK_ENABLE_AVXVNNI=OFF $CMAKE_FLAGS "
50
50
;;
51
51
linux-armhf)
52
52
export CC=" arm-linux-gnueabihf-gcc -funsafe-math-optimizations"
@@ -56,7 +56,7 @@ case $PLATFORM in
56
56
linux-arm64)
57
57
export CC=" aarch64-linux-gnu-gcc -funsafe-math-optimizations"
58
58
export CXX=" aarch64-linux-gnu-g++ -funsafe-math-optimizations"
59
- export CMAKE_FLAGS=" -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DTFLITE_ENABLE_XNNPACK =OFF $CMAKE_FLAGS "
59
+ export CMAKE_FLAGS=" -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DXNNPACK_ENABLE_ARM_I8MM =OFF $CMAKE_FLAGS "
60
60
;;
61
61
linux-x86)
62
62
export CC=" gcc -m32"
Original file line number Diff line number Diff line change 70
70
),
71
71
@ Platform (
72
72
value = "windows-x86_64" ,
73
+ link = "nvinfer_10" ,
74
+ preload = "nvinfer_builder_resource_10" ,
73
75
includepath = "C:/Program Files/NVIDIA GPU Computing Toolkit/TensorRT/include" ,
74
76
linkpath = "C:/Program Files/NVIDIA GPU Computing Toolkit/TensorRT/lib/"
75
77
)
Original file line number Diff line number Diff line change 34
34
*/
35
35
@ Properties (
36
36
inherit = nvinfer .class ,
37
- value = @ Platform (
38
- include = {"NvInferPlugin.h" , "NvInferPluginUtils.h" },
39
- link = "nvinfer_plugin@.10" ),
37
+ value = {
38
+ @ Platform (
39
+ include = {"NvInferPlugin.h" , "NvInferPluginUtils.h" },
40
+ link = "nvinfer_plugin@.10"
41
+ ),
42
+ @ Platform (
43
+ value = "windows-x86_64" ,
44
+ link = "nvinfer_plugin_10"
45
+ )
46
+ },
40
47
target = "org.bytedeco.tensorrt.nvinfer_plugin" ,
41
48
global = "org.bytedeco.tensorrt.global.nvinfer_plugin" )
42
49
public class nvinfer_plugin implements InfoMapper {
Original file line number Diff line number Diff line change 34
34
*/
35
35
@ Properties (
36
36
inherit = nvinfer_plugin .class ,
37
- value = @ Platform (
38
- include = "NvOnnxParser.h" ,
39
- link = "nvonnxparser@.10" ,
40
- preload = "nvinfer_vc_plugin@.10" ),
37
+ value = {
38
+ @ Platform (
39
+ include = "NvOnnxParser.h" ,
40
+ link = "nvonnxparser@.10" ,
41
+ preload = "nvinfer_vc_plugin@.10"
42
+ ),
43
+ @ Platform (
44
+ value = "windows-x86_64" ,
45
+ link = "nvonnxparser_10" ,
46
+ preload = "nvinfer_vc_plugin_10"
47
+ )
48
+ },
41
49
target = "org.bytedeco.tensorrt.nvonnxparser" ,
42
50
global = "org.bytedeco.tensorrt.global.nvonnxparser" )
43
51
public class nvonnxparser implements InfoMapper {
You can’t perform that action at this time.
0 commit comments