Coder Social home page Coder Social logo

albertoparravicini / approximate-spmv-topk Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 5.0 1.14 MB

Public repostory for the DAC 2021 paper "Scaling up HBM Efficiency of Top-K SpMV forApproximate Embedding Similarity on FPGAs"

License: MIT License

Makefile 2.01% C++ 43.76% Cuda 15.89% Python 38.34%

approximate-spmv-topk's Issues

Mean error=100±0

I have not modified any source code, but when I use the following command to run the host,

cd build/hw/xilinx_u280_xdma_201920_3
./spmv_coo_hbm_topk_multicore_mega_main -x spmv_bscsr_top_k_main.xclbin -d -m ../../../data/matrices_for_testing/matrix_10000_1024_20_gamma.mtx -k 100 -t 30

the output shows:

----------------
Mean FPGA execution time=8.268e-05±1.64e-05 ms
Mean full FPGA execution time=0.09658±0.01358 ms
Mean read-back time=115.1±1.64e-05 ms
Mean error=100±0
Mean precision=0.01393±0.008168
----------------

HLS Error occured when trying compile with vitis 2021.1

Thanks for your insightful and solid research!
I encountered some problems while trying to compile this project in ubuntu 20.04 with vitis 2021.1.
First, it seems that the --nk and --sp options have been decrypted in vitis 2021.1, I updated it following https://www.xilinx.com/developer/articles/using-configuration-files-to-control-vitis-compilation.html , and then I encountered it,
https://forums.xilinx.com/t5/High-Level-Synthesis-HLS/compile-error-for-pragoffset=slavema-HLS-INTERFACE-bundle-Vitis-2020-2/td-p/1203908, I followed the steps in the forums, removed the offset=slave options, and finally vitis tells me it cannot generate rtl files, with no other clue.
Can u checkout the hls log and point out the potential problems?
Thanks.
vitis_hls.log
Update:
It seems that this problem occurs because #pragma hls data_pack is no longer supported in the newest version of vitis

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.