I have a simple source code (sum of 2 vectors) for testing OpenCL the problem is the following: when I run th executable file I get this error:
Error: clGetPlatformIDs(-1001)
Also, if i run the command clinfo I get the following error:
terminate called after throwing an instance of 'cl::Error'
`what(): clGetPlatformIDs`
`Aborted (core dumped)`
What's the problem?
I use:
Linux Ubuntu 14.04.4 LTS;
I have NO NVIDIA graphic card but I have:
*ASPEED Technology, Inc. ASPEED Graphics Family* (rev 10) (prog-if 00 [VGA controller])
Subsystem: ASPEED Technology, Inc. ASPEED Graphics Family
Flags: medium devsel, IRQ 23
Memory at fe000000 (32-bit, non-prefetchable) [size=8M]
Memory at fdfe0000 (32-bit, non-prefetchable) [size=128K]
I/O ports at c800 [size=128]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: ast
AMD Processor.
Since I have not enough rep for a comment I put this as an answer.
What is the output of 'ldd clinfo'? This will tell us which libraries clinfo is using. You might have to search for the absolute path of the clinfo executable first.
Can you provide the content of the directory /etc/OpenCL/vendors/ . File names and content would be useful for a start.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With