[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 - OpenCL does not compile on Parallella but does on Intel

OpenCL does not compile on Parallella but does on Intel

Moderator: dar

OpenCL does not compile on Parallella but does on Intel

Postby imrehg » Mon Jun 15, 2015 4:06 pm

- Do More Science | |
User avatar
imrehg
 
Posts: 14
Joined: Mon Dec 17, 2012 3:25 am
Location: Taipei, Taiwan

Re: OpenCL does not compile on Parallella but does on Intel

Postby imrehg » Tue Jun 16, 2015 2:10 am

- Do More Science | |
User avatar
imrehg
 
Posts: 14
Joined: Mon Dec 17, 2012 3:25 am
Location: Taipei, Taiwan

Re: OpenCL does not compile on Parallella but does on Intel

Postby jlambrecht » Tue Jun 23, 2015 6:29 pm

I'm not sure what to say but contacting the people writing the CORPHTR library seems like a good idea :)

Based on the little experience i have with compiling stuff it seems like you might have to recompile some of the Python stuff and/or other more low level stuff for Epiphany ?
jlambrecht
 
Posts: 41
Joined: Wed Nov 13, 2013 7:57 pm

Re: OpenCL does not compile on Parallella but does on Intel

Postby imrehg » Wed Jun 24, 2015 2:50 am

Yeah, I've been working on the COPRTHR side of things, and start to understand a few things. From my original questions, the library linking should be "-locl" because it pulls in the relevant library anyways. For some of the compile errors were either bugs or lack of documentation (depending on one's point of view) and some has been fixed.

The issue is in the C code, though, not Python, and I kinda think it's a combination of OpenCL incompatibilities between the different implementations + my lack of C skills so far. Will probably start from scratch and build up from there, instead of the 'copy-paste-ohthatworks" approach before. Let's see how that will work out :)
- Do More Science | |
User avatar
imrehg
 
Posts: 14
Joined: Mon Dec 17, 2012 3:25 am
Location: Taipei, Taiwan

Re: OpenCL does not compile on Parallella but does on Intel

Postby imrehg » Wed Jun 24, 2015 3:16 pm

Well, a bit of a breakthrough. Trying to build things up from scratch, the main "segmentation error" is possibly coming from the code using "__constant", while the says that it is unsupported. (duh!)

The code I'm trying to run is basically SHA512, which uses __constant , any recommendation how that might be circumvented? Is there any other pattern that I can use to effectively have a look-up table available for the rest of the algorithm, but not as such a __constant?
- Do More Science | |
User avatar
imrehg
 
Posts: 14
Joined: Mon Dec 17, 2012 3:25 am
Location: Taipei, Taiwan

Re: OpenCL does not compile on Parallella but does on Intel

Postby jlambrecht » Tue Jun 30, 2015 5:53 pm

Hmmm, sorry to say i lack relevant experience and/or expertise.

https://duckduckgo.com/?q=%22__constant%22&t=canonical

You seem to be on to something though, maybe make sure you're using the latest version from git or other upstream sources ?
jlambrecht
 
Posts: 41
Joined: Wed Nov 13, 2013 7:57 pm


Return to OpenCL

Who is online

Users browsing this forum: No registered users and 1 guest