Giter VIP home page Giter VIP logo

Comments (1)

fbarchard avatar fbarchard commented on June 10, 2024 1

To configure microkernels we need to run benchmarks on RVV hardware.
The kernels support m1, m2, m4 and m8 and normally we'd run the benchmark, select the fastest and plug that into the config.
There is a microkernel benchmark, which shows the kernels that could be used
f32_vhswish/rvv_u1v/N:3840/real_time ERROR OCCURRED: 'no V extension'
f32_vhswish/rvv_u1v/N:32640/real_time ERROR OCCURRED: 'no V extension'
f32_vhswish/rvv_u2v/N:3840/real_time ERROR OCCURRED: 'no V extension'
f32_vhswish/rvv_u2v/N:32640/real_time ERROR OCCURRED: 'no V extension'
f32_vhswish/rvv_u4v/N:3840/real_time ERROR OCCURRED: 'no V extension'
f32_vhswish/rvv_u4v/N:32640/real_time ERROR OCCURRED: 'no V extension'
f32_vhswish/rvv_u8v/N:3840/real_time ERROR OCCURRED: 'no V extension'
f32_vhswish/rvv_u8v/N:32640/real_time ERROR OCCURRED: 'no V extension'
f32_vhswish/scalar_u1/N:3840/real_time 322413 ns 322405 ns 2174 bytes=95.2816M/s
f32_vhswish/scalar_u1/N:32640/real_time 2736093 ns 2736025 ns 256 bytes=95.4354M/s
f32_vhswish/scalar_u2/N:3840/real_time 267837 ns 267827 ns 2611 bytes=114.696M/s
f32_vhswish/scalar_u2/N:32640/real_time 2278400 ns 2278154 ns 308 bytes=114.607M/s
f32_vhswish/scalar_u4/N:3840/real_time 289920 ns 289905 ns 2413 bytes=105.96M/s
f32_vhswish/scalar_u4/N:32640/real_time 2479500 ns 2479095 ns 284 bytes=105.312M/s

To test they work, I manually hack the cpu_info RVV detect and run on qemu.
We prefer properly test on real hardware before enabling, but if you want to help with that, contributions welcome

from xnnpack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.