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: 
Adventurer
Adventurer
1,325 Views
Registered: ‎01-23-2018

Compile OpenCL project

Jump to solution

Hi,

I'm trying to compile a OpenCL source file with xocc as follows:

 

xocc -D XILINX device/conv_pipe.cl --platform "zcu102_es1_ocl" -t hw -O2  --kernel_frequency 100  --save-temps  --report system --memory_port_data_width memWrite:32 --memory_port_data_width memRead:512 --nk memWrite:1  --nk coreConv:1  --nk lrn:1  --nk maxPool:1  --nk memRead:1

 

It seems to compile, but after few seconds it fails with this error:

 

Attempting to get a license: ap_opencl
WARNING: [XOCC 17-301] Failed to get a license for 'ap_opencl'. Explanation: The license feature ap_opencl could not be found.
Resolution: Check the status of your licenses in the Vivado License Manager. For debug help search Xilinx Support for "Licensing FAQ".
INTERNAL ERROR: Uncaught Exception -- ERROR: [XOCC 60-400] Failed to get a license: ap_opencl

 

I have read my license file with Vivado license Manager and ap_opencl is not present in my license. (I have a free

license for SDSoC).

How can I get the ap_opencl license? it is necessary to have a SDAccel license?

 

Thanks

0 Kudos
1 Solution

Accepted Solutions
Adventurer
Adventurer
1,679 Views
Registered: ‎01-23-2018

Re: Compile OpenCL project

Jump to solution

I have solved the problem updating the SDx from 2017.1 to 2017.4

View solution in original post

0 Kudos
2 Replies
Adventurer
Adventurer
1,680 Views
Registered: ‎01-23-2018

Re: Compile OpenCL project

Jump to solution

I have solved the problem updating the SDx from 2017.1 to 2017.4

View solution in original post

0 Kudos
Newbie qsh_zwt
Newbie
1,235 Views
Registered: ‎02-06-2018

Re: Compile OpenCL project

Jump to solution

cool!


@herogian wrote:

I have solved the problem updating the SDx from 2017.1 to 2017.4


 

0 Kudos