Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

RTOS/AM5728: OpenCL issue: Number of message queues (0) does not match number of compute units (2)

$
0
0

Part Number:AM5728

Tool/software: TI-RTOS

Hi Guys,

In the short term we are looking to use OpenCL to access the DSP cores directly on the AM5728 as used on the Beaglebone X15.

I believe this makes the most sense for the long term since at we eventually will have data I/O streaming through the system; this data will be managed by
the ARM side running Linux handling the network protocol. The data will then be pooled to the DSP using shared buffers for processing on the DSP.

We have spent a fair amount of time looking through the SDK, and various other online documents and forums, and believe we have a good handle on the mechanisms and are making progress.

That said, we are using Debian on an earlier AM335x design that is in production, and would like to use Debian
with the new AM5728 system. The Beaglebone X15 Debian port has all the tools, components and libraries to support the OpenCL effort.

The main issue I am seeing is that the CMEM driver is not creating the message queues. For example
if I run one of the OpenCL examples (they all successfully compile), I see this error:

TIOCL FATAL: Internal Error:  

As below, the message queues appear to not be created even though I believe they are properly specified in
the device tree (as far as I can determine, the CMEM entries in the device tree used match the SDK device
tree CMEM entries).



So the CMEM driver is not creating the shared area properly, and I believe this might be related to the EVE processors
waking up when they shouldn't and causing issues. The EVE processors appear to wake up at boot time and cause
kernel warnings (see cut here warnings below):



I've been looking into how to disable the EVE processors using the device tree, but the
documentation is quite poor in this area. Any ideas?

Anyway, I could provide lots more detail if that would help. Thanks in advance!

Regards,
Mark


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>