用 C 实现 Numpy,使用 SIMD 和 OpenMP,比原生快

· Technology

Numpy

Describe

Code

测试中的 dumbpy 好像是学校内部的库,自己使用 numpy 封装了下。

task2 部分测试未测完。

CUnit 安装

To use CUnit framework in your project, you must install it first

sudo apt-get install libcunit1 libcunit1-doc libcunit1-dev

Then in your test.c

#include <CUnit/CUnit.h>

And finally, you must add the flag –lcunit to the gcc command (at the end)

gcc  -o test test.c  -lcunit

Comments (0)

    Send comment

    Markdown supported. Please keep comments clean.