public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] eselect OpenCL is wrong.
@ 2016-01-06 16:32 Alan Grimes
  2016-01-06 18:52 ` wabenbau
  2016-01-07  6:49 ` [gentoo-user] " Nikos Chantziaras
  0 siblings, 2 replies; 4+ messages in thread
From: Alan Grimes @ 2016-01-06 16:32 UTC (permalink / raw
  To: gentoo-user

Wrong, I say, WROOOOONG!!!!!

OpenCl is not OpenGL. It is more of a framework than an API. A high end
machine may have a number of different OpenCL hosts, the cpu, vector
cores built into the cpu as in the AMD APU line and intel's lame
knockoff thereof. =P

There is also OpenCL support in GPUs, Xeon Phi, FPGA and potentially
other devices too.

The game Planet Explorers (available on Steam) demonstrates how this
should be used. You are given a menu at the start of the game that lists
the available OpenCL implementations. You then select whatever device
you want to use for OpenCL that day...

So there should not be eselect OpenCL, All gentoo needs to do is enforce
standards on where the relevant libraries are stored and the application
will select which one to use.

-- 
IQ is a measure of how stupid you feel.

Powers are not rights.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] eselect OpenCL is wrong.
  2016-01-06 16:32 [gentoo-user] eselect OpenCL is wrong Alan Grimes
@ 2016-01-06 18:52 ` wabenbau
  2016-01-07  6:49 ` [gentoo-user] " Nikos Chantziaras
  1 sibling, 0 replies; 4+ messages in thread
From: wabenbau @ 2016-01-06 18:52 UTC (permalink / raw
  To: gentoo-user

Alan Grimes <ALONZOTG@verizon.net> wrote:

> Wrong, I say, WROOOOONG!!!!!

No reason to go into hysterics. Think of your blood pressure! ;-)

> OpenCl is not OpenGL. It is more of a framework than an API. A high
> end machine may have a number of different OpenCL hosts, the cpu,
> vector cores built into the cpu as in the AMD APU line and intel's
> lame knockoff thereof. =P
> 
> There is also OpenCL support in GPUs, Xeon Phi, FPGA and potentially
> other devices too.
> 
> The game Planet Explorers (available on Steam) demonstrates how this
> should be used. You are given a menu at the start of the game that
> lists the available OpenCL implementations. You then select whatever
> device you want to use for OpenCL that day...
> 
> So there should not be eselect OpenCL, All gentoo needs to do is
> enforce standards on where the relevant libraries are stored and the
> application will select which one to use.

You should better report this to the developers of the respective
applications. I'm not an expert on this, but I think this is nothing 
that the gentoo developers can do.

And I think it's better to have "eselect OpenCL" than nothing.

--
Regards
wabe


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] Re: eselect OpenCL is wrong.
  2016-01-06 16:32 [gentoo-user] eselect OpenCL is wrong Alan Grimes
  2016-01-06 18:52 ` wabenbau
@ 2016-01-07  6:49 ` Nikos Chantziaras
  2016-01-07 15:43   ` Alan Grimes
  1 sibling, 1 reply; 4+ messages in thread
From: Nikos Chantziaras @ 2016-01-07  6:49 UTC (permalink / raw
  To: gentoo-user

On 06/01/16 18:32, Alan Grimes wrote:
> Wrong, I say, WROOOOONG!!!!!
>[...]
> The game Planet Explorers (available on Steam) demonstrates how this
> should be used. You are given a menu at the start of the game that lists
> the available OpenCL implementations. You then select whatever device
> you want to use for OpenCL that day...
>
> So there should not be eselect OpenCL, All gentoo needs to do is enforce
> standards on where the relevant libraries are stored and the application
> will select which one to use.

That's already the case. They're stored in /usr/lib/OpenCL/vendors/. 
eselect just allows applications that don't provide a mechanism for 
selecting an implementation to work.

Not sure what you're asking for here :-/



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Re: eselect OpenCL is wrong.
  2016-01-07  6:49 ` [gentoo-user] " Nikos Chantziaras
@ 2016-01-07 15:43   ` Alan Grimes
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Grimes @ 2016-01-07 15:43 UTC (permalink / raw
  To: gentoo-user

Nikos Chantziaras wrote:
> On 06/01/16 18:32, Alan Grimes wrote:
>> Wrong, I say, WROOOOONG!!!!!
>> [...]
>> The game Planet Explorers (available on Steam) demonstrates how this
>> should be used. You are given a menu at the start of the game that lists
>> the available OpenCL implementations. You then select whatever device
>> you want to use for OpenCL that day...
>>
>> So there should not be eselect OpenCL, All gentoo needs to do is enforce
>> standards on where the relevant libraries are stored and the application
>> will select which one to use.
>
> That's already the case. They're stored in /usr/lib/OpenCL/vendors/.
> eselect just allows applications that don't provide a mechanism for
> selecting an implementation to work.
>
> Not sure what you're asking for here :-/
>

Okay, nm then. carry on. =P

I was just a bit concerned because sometimes eselect is, necessarily, a
bit more brutal about things.

-- 
IQ is a measure of how stupid you feel.

Powers are not rights.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-07 15:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-06 16:32 [gentoo-user] eselect OpenCL is wrong Alan Grimes
2016-01-06 18:52 ` wabenbau
2016-01-07  6:49 ` [gentoo-user] " Nikos Chantziaras
2016-01-07 15:43   ` Alan Grimes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox