You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+88Lines changed: 88 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -239,6 +239,94 @@ For Linux platforms, we recommend that you generate a docker container for build
239
239
-`GPU_ARCHS`: GPU (SM) architectures to target. By default we generate CUDA code for all major SMs. Specific SM versions can be specified here as a quoted space-separated list to reduce compilation time and binary size. Table of compute capabilities of NVIDIA GPUs can be found [here](https://developer.nvidia.com/cuda-gpus). Examples: - NVidia A100: `-DGPU_ARCHS="80"` - RTX 50 series: `-DGPU_ARCHS="120"` - Multiple SMs: `-DGPU_ARCHS="80 120"`
> NOTE: Set `QNX_BASE` to your QNX toolchain installation path.
290
+
> If your CUDA version is not the same as in the example, set `CUDA_VERSION` (for examples that use it in multiple places) or add `-DCUDA_VERSION=<version>` to the cmake command.
291
+
292
+
**Example: Cross-Compile for DOS6.5 QNX Safety (aarch64)**
293
+
294
+
```bash
295
+
cd$TRT_OSSPATH
296
+
mkdir -p build &&cd build
297
+
export CUDA_VERSION=11.4
298
+
export QNX_BASE=/drive/toolchains/qnx_toolchain # Set to your QNX toolchain installation path
> NOTE: Set `QNX_BASE` to your QNX toolchain installation path.
309
+
> If your CUDA version is not the same as in the example, set `CUDA_VERSION` (for examples that use it in multiple places) or add `-DCUDA_VERSION=<version>` to the cmake command.
> NOTE: Set `QNX_BASE` to your QNX toolchain installation path.
328
+
> If your CUDA version is not the same as in the example, set `CUDA_VERSION` (for examples that use it in multiple places) or add `-DCUDA_VERSION=<version>` to the cmake command.
0 commit comments