Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17245 Discussions

ICD registration of Altera OpenCL platform

Altera_Forum
Honored Contributor II
2,183 Views

Hi, 

I've been using the Altera OpenCL tools for a few months and most things work very well. However, in order to access the Altera OpenCL platform I have to link against a separate set of libraries, i.e. not against a generic OpenCL library. When I link against an OpenCL library provided by e.g. intel or AMD the Altera platform does not show up and the other way around: when linking against the Altera libraries I can't see other platforms besides the Altera platform. This means that I have to decide at build time whether I'd like to use the Altera FPGA or a different device. This is inconvenient because I'd like to expose all available platforms and devices to the user in a GUI. As far as I understand this is because the Altera platform does not do the ICD (installable client driver) registration. 

 

My questions are: 

1) Is there a plan to add ICD registration to the Altera OpenCL platform? If so, when will this feature be available? 

2) Is there a workaround for exposing all OpenCL platforms available on a system to the user (e.g. Altera and AMD). 

 

I'm on windows 7 with visual studio express 2013 compilers. 

 

Any comments or suggestions appreciated. 

 

Cheers, 

Dominic
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
1,250 Views

For question# 1 I can't comment on future features/release dates but trust me, this request is taken very seriously. The less vague answer would be to talk to your FAE, they may be able to give you a more concrete answer than that. 

 

For question# 2 one method (haven't tried this but it should work) would be to compile an AMD/Intel and Altera code base into seperate static libraries then link them both into the main application that will use both. You still won't be able list out all the platforms but at least you will be able to have both implementations linked into a single host application that way. I know this workaround is not pretty but if you do go down that road I recommend making a really simple test case first just to make sure this actually works since I haven't tried this personally.
0 Kudos
Altera_Forum
Honored Contributor II
1,250 Views

Thanks for the quick answer. 

 

 

--- Quote Start ---  

For question# 1 I can't comment on future features/release dates but trust me, this request is taken very seriously. The less vague answer would be to talk to your FAE, they may be able to give you a more concrete answer than that. 

 

For question# 2 one method (haven't tried this but it should work) would be to compile an AMD/Intel and Altera code base into seperate static libraries then link them both into the main application that will use both. You still won't be able list out all the platforms but at least you will be able to have both implementations linked into a single host application that way. I know this workaround is not pretty but if you do go down that road I recommend making a really simple test case first just to make sure this actually works since I haven't tried this personally. 

--- Quote End ---  

 

 

 

Great to hear that ICD registration is on your radar and is being taken seriously. 

I'll try to link against all libraries. I strongly suspect that there will be problems with multiply defined symbols but perhaps those can be overcome. 

 

Cheers, 

Dominic
0 Kudos
Altera_Forum
Honored Contributor II
1,250 Views

 

--- Quote Start ---  

For question# 1 I can't comment on future features/release dates but trust me, this request is taken very seriously. The less vague answer would be to talk to your FAE, they may be able to give you a more concrete answer than that. 

 

For question# 2 one method (haven't tried this but it should work) would be to compile an AMD/Intel and Altera code base into seperate static libraries then link them both into the main application that will use both. You still won't be able list out all the platforms but at least you will be able to have both implementations linked into a single host application that way. I know this workaround is not pretty but if you do go down that road I recommend making a really simple test case first just to make sure this actually works since I haven't tried this personally. 

--- Quote End ---  

 

 

I am having the same issue. Is there an update on the icd registration status? I was hoping to see it in 14.0.  

 

Rudy
0 Kudos
Reply