zoukankan      html  css  js  c++  java
  • 学习记录

    作为C++的包版本管理器,conan不是用C++来实现的,它甚至不是使用编译型语言来实现的,它使用的是脚本语言Python
    pip install conan
    1. Get the source:

      git clone git@github.com:johnmcfarlane/cnl_example.git
      cd cnl_example
      
    2. Add Bintray conan repository:

      conan remote add johnmcfarlane/cnl https://api.bintray.com/conan/johnmcfarlane/cnl
      
    3. Create a build environment in a directory called build:

      mkdir -p build
      cd build
      conan install --build cnl ..
      cmake ..
      
    4. Build the demo program:

      cmake --build .
      
    5. Run the demo program:

      ./bin/cnl_example
      
    6. Test the output of the demo program:

      ctes
    7. 是用CNL编写的仅标头DSP库,旨在实现典型DSP内核的浮点和定点实现。算法设计人员通常从Matlab,Scipy,R或Julia开始,并使用浮点数据类型在非常高的级别上设计算法。对于实时应用,最终目标通常是定点DSP,FPGA或ASIC。需要将算法手动移植到定点,这可以导致三个单独的算法源代码:浮点原始算法,相同的定点设计以及目标上的最终实现。让它们保持同步是一场噩梦。
    8. CDSP库显示了CNL单一源代码如何提供完整实现。最低限度,CDSP可以提供来自相同源代码的浮点和定点设计。在针对目标存在兼容的C ++编译器的情况下,也完成最终实现。

      CDSP定点实现在数值精度方面针对其浮点对应物进行测量。此时,Cirrus ADSP2定点数据类型的性能已经过测试,并针对原生Cirrus ADSP2实现进行了单独验证。使用CNL编写新的数据类型并专门研究最低级别的核心CDSP内核,可以非常直接地支持其他架构,如Qualcomm,TI DSP和其他专用处理器。

    git clone https://github.com/hbe72/cdsp.git
    mkdir build
    cd build
    cmake /some/directory/cdsp -DCMAKE_INSTALL_PREFIX=/directory/to/install -DCMAKE_BUILD_TYPE=Release
    cmake --build . --target Tests -- -j8
    ctest
    sudo cmake --build . --target install 


     
  • 相关阅读:
    第一次博客园作业
    弹性布局/流动式布局
    元素在网页或视口上位置的相关问题求解
    element
    给body设置高度
    盒模型宽高的获取和设置
    选择器
    变量、作用域和内存问题
    js之捕捉冒泡和事件委托
    transition transform animate的使用
  • 原文地址:https://www.cnblogs.com/Alanturing/p/11533356.html
Copyright © 2011-2022 走看看