Closed lix19937 closed 6 months ago
The safeCommon is used for automotive safety ?
Yes
How to understand
SAFE CUDA
?
they are some "standards" that we need to follow for safety requirement, e.g. AUTOSAR
How to understand
cudaStreamCaptureModeGlobal is the only allowed mode in SAFE CUDA
?
Some APIs is not allowed for safety, it's a bit of tedious so if you don't work on automotive you can ignore it :-D
@zerollzeng Now I will use cudagraph in multi-process in DRIVE AGX Orin X/N, the graph capture mode confuse me.
Do you use QNX?
If not, you can ignore the safe***
Do you use QNX?
Current only use linux.
If not, you can ignore the safe***
Thanks.
Ref https://github.com/NVIDIA/TensorRT/blob/release/8.6/samples/common/safeCommon.h#L145
The class
TrtCudaGraphSafe
is not used in TensorRT OSS project.The safeCommon is used for automotive safety ?
I doubt that
cudaStreamCaptureModeGlobal vs cudaStreamCaptureModeThreadLocal vs cudaStreamCaptureModeRelaxed
difference ?How to understand
SAFE CUDA
?How to understand
cudaStreamCaptureModeGlobal is the only allowed mode in SAFE CUDA
?How to understand potentially unsafe API ?
potentially unsafe API
is equal not-thread-safe API ?Ref https://docs.nvidia.com/deeplearning/nccl/archives/nccl_21210/user-guide/docs/usage/cudagraph.html#capture-modes
Thanks.