本文介绍了BLAS和LAPACK库是否符合MISRA标准?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我猜答案是.但是,我想知道是否有人对此主题有所了解.

I guess the answer is no. However, I was wondering if someone has some insight into this topic.

BLAS和LAPACK库是否符合MISRA标准? MISRA标准(MISRA C:1998,MISRA C:2004,MISRA C:2012)要求极高,我相信BLAS和LAPACK库不符合该标准.因此,如果我的软件项目要求符合MISRA,则不应使用此类库.

Do BLAS and LAPACK libraries comply with MISRA standards? The MISRA standards (MISRA C:1998, MISRA C:2004, MISRA C:2012) are extremly demanding, and I believe that BLAS and LAPACK libraries do not comply with it. Hence, I should not use such libraries if my software project demands MISRA compliance.

对此问题的任何见识都将得到极端的赞赏:)

Any insight into this question would be extremly appreciated :)

推荐答案

除非该库被积极宣传为符合MISRA-C规范,否则可以很肯定地认为它不符合要求.

Unless the library is actively advertised as MISRA-C compliant, it is pretty safe to assume that it isn't.

您可以对项目应用严格的严格等级.在您自己的应用程序可以满足MISRA但库不满足的情况下,您可以做一些"MISRA light".或者您要求每个库(包括标准库)都符合MISRA.

There's basically various levels of strictness you can apply to your project. Either you do some "MISRA light" where your own application fulfils MISRA but the libraries does not. Or you demand that every library, including standard libraries, are MISRA compliant.

如果您只是将MISRA用作杀死错误的标准,那么前者是可以的.但是,如果出于安全要求使用MISRA,则所有库都必须遵守-在某种程度上包括编译器的标准库(如果使用).

The former is ok if you are just using MISRA as a bug-killing standard. But in case you are using MISRA because of safety requirements, then all libraries must comply - including to some extent the compiler's standard library (if used).

这篇关于BLAS和LAPACK库是否符合MISRA标准?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-13 08:10