Frameworks-CudaSupportΒΆ

Configuration support for projects using NVIDIA CUDA

Required inputs: IR

This rule simplifies the configuration of projects using NVIDIA CUDA. It activates some exceptions to the rules to avoid unwanted findings:

  • MisraC++2023-4.1.1: The rule avoids reporting CUDA language extensions
  • MisraC++2023-6.0.2: The rule does not apply to extern __shared__ arrays (for which the dimension is passed in a kernel launch).
  • MisraC++2023-11.6.1: The rule does not apply to __shared__ variables as __shared__ implies static storage duration, and the original MISRA rule already excludes those.

Possible Messages

This rule has no predefined messages.

Options

  • The following places define options that affect this rule: Analysis-GlobalOptions

  • This rule has no individual options.