Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
990 Views

error: Channel support is not enabled

Hi,I compiled project PipeCNN on the github with Intel OpenCL SDK for FPGA 17.1 and get the following error 

In file included from /home/wangjf/PipeCNN/project/__all_sources.cl:2: 

PipeCNN/project/device/conv_pipe.cl:75:24: error: Channel support is not enabled 

channel channel_vec data_ch attribute((depth(0))); 

Anyone got an idea? Thanks in advance!!:-P
0 Kudos
8 Replies
Altera_Forum
Honored Contributor I
83 Views

I see that you have already opened an issue on Github about this; I recommend waiting for a response from the owner of the repository. My guess is that since the channel extension and functions have been renamed from Altera to Intel in Quartis v17.0 and above, while that project uses the old names, you are running into this issue.

Altera_Forum
Honored Contributor I
83 Views

 

--- Quote Start ---  

I see that you have already opened an issue on Github about this; I recommend waiting for a response from the owner of the repository. My guess is that since the channel extension and functions have been renamed from Altera to Intel in Quartis v17.0 and above, while that project uses the old names, you are running into this issue. 

--- Quote End ---  

 

BTW,I am trying to compile it with VERSION 16.1,however,it points out me that I must have a valid license.So,I can do nothing.:D 

Thanks a lot.
Altera_Forum
Honored Contributor I
83 Views

I changed OPENCL_EXTENSION in the Makefile to OPEN EXTENSION and it can solve the above problem. 

Thanks!
Altera_Forum
Honored Contributor I
83 Views

I had the same problem as you. Tried your method and still not working. Can you share how you finally worked it out? Thanks!

Altera_Forum
Honored Contributor I
83 Views

Hi,can you tell me the details of your problems? Thanks.

Altera_Forum
Honored Contributor I
83 Views

I add both of these, and it can work. 

# pragma OPENCL_EXTENSION cl_altera_channels : enable 

# pragma OPENCL EXTENSION cl_intel_channels : enable
Altera_Forum
Honored Contributor I
83 Views

 

--- Quote Start ---  

I add both of these, and it can work. 

# pragma OPENCL_EXTENSION cl_altera_channels : enable 

# pragma OPENCL EXTENSION cl_intel_channels : enable 

--- Quote End ---  

 

 

The first line can be deleted.
Altera_Forum
Honored Contributor I
83 Views

 

--- Quote Start ---  

Hi,can you tell me the details of your problems? Thanks. 

--- Quote End ---  

 

 

 

Finally it worked out using# pragma OPENCL EXTENSION cl_intel_channels : enable 

 

In your original post it was# pragma OPEN EXTENSION cl_intel_channels : enable so it didn't work. Anyway thx! 

 

After successfully compiling the conv.aocx file with hw setting (which took hours), running it seems taking forever.. I'm wondering how long does it take you to run it on the FPGA device?
Reply