Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

softmax-hackathon

This is a solution to the improving softmax challenge on the RISC-V Online Hackathon.

Generate the test data and golden image with the Jupyter notebook script.

Scalar solution

This solution uses pure C and loops. Can be built and executed on the host machine.

make run

RVV solution

Cross-compiles to the RISC-V core machine and uses Spike simulator to run the program. Provide path to RISC-V gcc and Spike with proxy kernel.

export RISCV_TOOLCHAIN={install_dir}/riscv-gcc
export SPIKE_PATH={install_dir}/riscv-isa-sim/bin
export PK_PATH={install_dir}/riscv-pk/build
make run-rvv

Scalar solution can also be compiled and run on RISC-V with Spike.

make run-riscv

ACE custom instruction

exp.ace contains the instruction for the custom ACE extension.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages