UCLA-VAST / AutoSA

AutoSA: Polyhedral-Based Systolic Array Compiler
MIT License
191 stars 31 forks source link

Number of HBM Channels #15

Open veronia-iskandar opened 2 years ago

veronia-iskandar commented 2 years ago

Hello,

Is there a way to increase the number of HBM channels used to make full use of the bandwidth? It is fixed to 6 ports in the mm_HBM example. Could the number of PEs and therefore the channels they are connected to be increased?

Thanks,

taehyunzzz commented 11 months ago

I am also a beginner in AutoSA, but here is what I understand:

Set the --hbm --hbm-port-num to generate the code. The code should create as many HBM ports as you declared. Then set the connectivity.cfg in the generated code.

Increasing the PE number is dependent on the space-time mode you set. I think the docs can help you set the space_time mode, array_partition and latency hiding factors which decide the number of PE instances.

taehyunzzz commented 11 months ago

@veronia-iskandar I know it has been over a year after your question has been posted, but did you have any luck afterwards?