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!

取消
显示结果 
搜索替代 
您的意思是: 
Visitor willyeyem5
Visitor
216 次查看
注册日期: ‎12-18-2018

How *.cl translate to *.xclbin?

Hello EveryBody :

I'm new to fpga, and i'm now using SDAccel to create a new project,

i want to use clCreateProgramWithBinary this API,

and it need to load .xclbin file .

if i have a kernel code matvec.cl like :

__kernel void matvec_mult(__global float4* matrix,
__global float4* vector,
__global float* result) {

int i = get_global_id(0);
result[i] = dot(matrix[i], vector[0]);
}

my question is :

How can i translate matvec.cl into matvec.xclbin ?

thank you very much !

Best Regards

willyeyem5

0 项奖励
2 条回复
Xilinx Employee
Xilinx Employee
187 次查看
注册日期: ‎07-17-2008

回复: How *.cl translate to *.xclbin?

You can select different modes and build in the GUI.

You may want to take a look at the user guide for a general idea.

http://www.xilinx.com/support/documentation/sw_manuals/xilinx2018_2_xdf/ug1023-sdaccel-user-guide.pdf

 

 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 项奖励
Visitor willyeyem5
Visitor
123 次查看
注册日期: ‎12-18-2018

回复: How *.cl translate to *.xclbin?

Hi 您好:

已解決, 謝謝您 !

Best Regards

willyeyem5

0 项奖励