[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - Epiphany accelerator not found

Epiphany accelerator not found

Moderator: dar

Epiphany accelerator not found

Postby guen » Tue Apr 08, 2014 9:38 am

I am trying to get basic OpenCL programs to run on the Epiphany processor, but when I run them as a the regular linaro user, I get mmap failure during the compilation. If I instead run them as root user, the Epiphany accelerator is not found.

Any answer can help solve this is highly appreciated.
guen
 
Posts: 2
Joined: Mon Mar 24, 2014 2:32 pm

Re: Epiphany accelerator not found

Postby dar » Tue Apr 08, 2014 10:45 am

dar
 
Posts: 90
Joined: Mon Dec 17, 2012 3:26 am

Re: Epiphany accelerator not found

Postby guen » Wed Apr 09, 2014 10:53 am

Thanks for the fast reply. I've sent an email to the given adress.
guen
 
Posts: 2
Joined: Mon Mar 24, 2014 2:32 pm

Re: Epiphany accelerator not found

Postby censix » Thu May 29, 2014 6:32 am

guen:

I have seen this behavior when using R to run openCL code on the Epiphany. My advice

1) Always make sure you run your code as root
2) Somewhere in your code, at the beginning when it tries to determine what devices are available, your code will most likely query for CL_DEVICE_TYPE_GPU type devices. What I have found is that the epiphany does NOT identify itself as a GPU, so it is not detected by the query. However, the Epiphany will be detected if your code does instead query for CL_DEVICE_TYPE_ALL devices.
censix
 
Posts: 49
Joined: Sun Dec 16, 2012 7:54 pm
Location: europe

Re: Epiphany accelerator not found

Postby dar » Fri May 30, 2014 3:11 pm

If you query for CL_DEVICE_TYPE_ALL you should find two devices, the ARM CPU and Epiphany. If you just want Epiphany, you should query CL_DEVICE_TYPE_ACCELERATOR. That is how its supposed to work since we classify Epiphany as an accelerator.
dar
 
Posts: 90
Joined: Mon Dec 17, 2012 3:26 am

Re: Epiphany accelerator not found

Postby Bikeman » Wed Jun 04, 2014 10:24 pm

Bikeman
 
Posts: 52
Joined: Wed Sep 11, 2013 8:55 pm

Re: Epiphany accelerator not found

Postby dar » Thu Jun 05, 2014 1:11 am

dar
 
Posts: 90
Joined: Mon Dec 17, 2012 3:26 am

Re: Epiphany accelerator not found

Postby Bikeman » Thu Jun 05, 2014 6:45 am

Bikeman
 
Posts: 52
Joined: Wed Sep 11, 2013 8:55 pm

Re: Epiphany accelerator not found

Postby dar » Thu Jun 05, 2014 1:42 pm

Ok. Thanks. I can see the epiphany device support is not being loaded. Let me try to recreate this locally to figure out why. On the platform I just checked where this build was created there is no issue.

This has nothing to do with ocl.conf, I was just suggesting to create one. For our software we have deprecated the ICD enumeration system because its not a very good design, causes problems, and is very limited in features. You may not have a platform where this is relevant, but if you were to have several parallella boards networked together, you can export the the Epiphany coprocessors so they could all be use from one host program, as an example. The ocl.conf file allows you to just add CLRPC servers to support this. There are other features in future that will use ocl.conf as the primary means of configuring your system.
dar
 
Posts: 90
Joined: Mon Dec 17, 2012 3:26 am

Re: Epiphany accelerator not found

Postby censix » Fri Jun 06, 2014 5:13 am

censix
 
Posts: 49
Joined: Sun Dec 16, 2012 7:54 pm
Location: europe

Next

Return to OpenCL

Who is online

Users browsing this forum: No registered users and 10 guests

cron