Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot apply disaggregate issue? (with Vitis 2022.1 on U250) #29

Closed
xooxit opened this issue May 25, 2022 · 3 comments
Closed

Cannot apply disaggregate issue? (with Vitis 2022.1 on U250) #29

xooxit opened this issue May 25, 2022 · 3 comments

Comments

@xooxit
Copy link

xooxit commented May 25, 2022

Hi-

With the new 2022.1 version, I got something Error during synthesizing MatrixMultiplicationKernel.

INFO: [HLS 214-131] Inlining function 'hlslib::Stream<hlslib::DataPack<float, 8>, 0ul, (hlslib::Storage)0>::Stream()' into 'MatrixMultiplicationKernel' (/home/lab/yong/SoonToBeRemoved/gemm_hls/kernel/Top.cpp:47:26)
INFO: [HLS 214-131] Inlining function 'hlslib::Stream<hlslib::DataPack<float, 8>, 0ul, (hlslib::Storage)0>::Stream(char const*)' into 'MatrixMultiplicationKernel' (/home/lab/yong/SoonToBeRemoved/gemm_hls/kernel/Top.cpp:91:26)
INFO: [HLS 214-210] Disaggregating variable 'cMemory' (/home/lab/yong/SoonToBeRemoved/gemm_hls/kernel/Top.cpp:111:52)
INFO: [HLS 214-210] Disaggregating variable 'bMemory' (/home/lab/yong/SoonToBeRemoved/gemm_hls/kernel/Top.cpp:43:52)
ERROR: [HLS 214-177] in function 'MatrixMultiplicationKernel': Cannot apply disaggregate pragma/directive on object 'aSplit' as there is an unresolved Phi node on it (/home/lab/yong/SoonToBeRemoved/gemm_hls/kernel/Top.cpp:117:1)
ERROR: [HLS 214-177] in function 'MatrixMultiplicationKernel': Cannot apply disaggregate pragma/directive on object 'aPipes' as there is an unresolved Phi node on it (/home/lab/yong/SoonToBeRemoved/gemm_hls/kernel/Top.cpp:117:1)
ERROR: [HLS 214-177] in function 'MatrixMultiplicationKernel': Cannot apply disaggregate pragma/directive on object 'bPipes' as there is an unresolved Phi node on it (/home/lab/yong/SoonToBeRemoved/gemm_hls/kernel/Top.cpp:117:1)
ERROR: [HLS 200-1715] Encountered problem during source synthesis
INFO: [HLS 200-111] Finished Command csynth_design CPU user time: 22.37 seconds. CPU system time: 2.4 seconds. Elapsed time: 22.58 seconds; current allocated memory: -1025.930 MB.
Pre-synthesis failed.

After I added #pragma HLS aggregate variable=aSplit and do the same thing for the other variables (i.e. aPipes, bPipes), the synthesis has been also falied.

@definelicht
Copy link
Contributor

This looks related to the issue that was causing the design to fail pipelining in 2021.2. I'm afraid the accelerator is currently broken with 2021.2 or newer 😞 I will try to find time to look into this issue, but I cannot promise when I have time. In the meantime, I can only suggest using 2021.1 to compile.

@definelicht
Copy link
Contributor

This is the same issue as #25, so I will close this one.

@samiBENALI
Copy link

Hello, any update on this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants