SkillAgentSearch skills...

Micpy

modifed numpy that can run compute on Intel® Xeon Phi™ Knight Corner coprocessors

Install / Use

/learn @SuperBo/Micpy
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Micpy

micpy is a modified version of numpy in order to run on Intel Xeon Phi Knights Corner coprocessors.

Compile and Installation

In order to compile micpy, you must have Intel C Compiler and Intel MKL installed on the host.

python setup.py build
python setup.py install

Usage

Below is an example of how to use micpy. Its usage is somewhat similar to original numpy.

import micpy

# Create two arrays that reside on MIC device memory
array_a = micpy.zeros((100,100), dtype=micpy.float32)
array_b = micpy.ones((100,100), dtype=micpy.float32)

# Some calculations
array_c = array_a + array_b
array_d = array_a * array_b

# Transfer data between host memory and MIC device memory
c = micpy.to_cpu(array_c)
c = array_c.to_cpu()
array_e = micpy.to_mic(c)

Current support API

TODO: update later

Benchmarks

TODO: update later

View on GitHub
GitHub Stars11
CategoryDevelopment
Updated10mo ago
Forks6

Languages

C

Security Score

72/100

Audited on May 20, 2025

No findings