UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer ghazale
Observer
1,022 Views
Registered: ‎08-28-2017

Caching Data for Kernels

Jump to solution

Dear all,

Hi,

 

I have faced with a problem in the matrix multiplier sample code in SDAccel Tool. I look for a pragma to cache matrix data into internal FPGA's SDRAMs(Block RAMs) to decrease data reads. Somthing like caching in GPU based architecture which there is local memory and private memory for caching. Could you please help me?

 

Thanks a lot

 

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
1,501 Views
Registered: ‎03-27-2012

Re: Caching Data for Kernels

Jump to solution

Hi,

 

Hope these two examples have what you need.
https://github.com/Xilinx/SDAccel_Examples/tree/master/getting_started/kernel_to_gmem/full_array_2d_c
https://github.com/Xilinx/SDAccel_Examples/tree/master/getting_started/kernel_to_gmem/full_array_2d_ocl

 

Regards,
Sean

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

2 Replies
Moderator
Moderator
1,502 Views
Registered: ‎03-27-2012

Re: Caching Data for Kernels

Jump to solution

Hi,

 

Hope these two examples have what you need.
https://github.com/Xilinx/SDAccel_Examples/tree/master/getting_started/kernel_to_gmem/full_array_2d_c
https://github.com/Xilinx/SDAccel_Examples/tree/master/getting_started/kernel_to_gmem/full_array_2d_ocl

 

Regards,
Sean

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

Observer ghazale
Observer
927 Views
Registered: ‎08-28-2017

Re: Caching Data for Kernels

Jump to solution

Thanks a lot for you help.

 

Could you please answer my questions. Thanks.

 

1- how can i bring data into private memory? what about On Chip memory?

2- Which memory is accessible by group works?

3- how can I find information about capacities and latency of different memory kinds in SDAccel.

 

Thanks a lot

0 Kudos