Hi everyone, thank you for the help.
Ron, you are correct, I have been mixing examples but is because I was trying every idea possible, since I thought my problem could be related with the fact that there was nothing loaded on the FPGA. And I just realized that I had a typo in the license environment variable. I will try to compile another OpenCL example as soon as I can to see if the compilation error goes away.
Franz, these are the answers to your questions:
-Would you post the relevant lines of lspci -v concerning the device, esp. with the subsystem number?
01:00.0 Unassigned class : Altera Corporation Device ab00 (rev 01)
Subsystem: Altera Corporation Device 0004
Flags: bus master. fast devsel, latency 0, IRQ 14
Memory at f0000000 (64-bit, prefetchable)
Capabilities: <access denied>
Kernel modules: bwtkdrvr
What does dmesg say when you rmmod and modprobe the driver "aclpci_drv" ?
Sorry, but I didn't really understand what you were looking for here, so I attached a file where I logged my terminal when doing these commands.
Do you have a /dev/acl0-device?
No
Does cat /proc/devices list "acl" ?
Yes, under “Character devices”, it says “245 acl”
By the way, even though I fixed the license environment variable, aocl diagnose still complains there are no active devices.
Regards,
Carlos