Poster | Thread |
Trekiej
| |
Amiga OS 4.1 and OpenCL Posted on 28-Jan-2019 23:48:36
| | [ #1 ] |
|
|
|
Cult Member |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| Is there any reason why we can not have OpenCL on Amiga OS 4.X?
_________________ John 3:16 |
|
Status: Offline |
|
|
NutsAboutAmiga
| |
Re: Amiga OS 4.1 and OpenCL Posted on 29-Jan-2019 6:30:47
| | [ #2 ] |
|
|
|
Elite Member |
Joined: 9-Jun-2004 Posts: 12818
From: Norway | | |
|
| |
Status: Offline |
|
|
Trekiej
| |
Re: Amiga OS 4.1 and OpenCL Posted on 29-Jan-2019 7:29:55
| | [ #3 ] |
|
|
|
Cult Member |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| @NutsAboutAmiga
Thanks, I found out that OpenCL was being added back in 2012 to open source drivers. The thread at Aros-exec mentioned Nouveau. _________________ John 3:16 |
|
Status: Offline |
|
|
thellier
| |
Re: Amiga OS 4.1 and OpenCL Posted on 29-Jan-2019 14:11:38
| | [ #4 ] |
|
|
|
Regular Member |
Joined: 2-Nov-2009 Posts: 263
From: Paris | | |
|
| @Trekiej
It will need to be ported to AmigaOS as we dont have an opencl to spir compiler now What do you want to use OpenCL for ? |
|
Status: Offline |
|
|
Trekiej
| |
Re: Amiga OS 4.1 and OpenCL Posted on 29-Jan-2019 18:26:41
| | [ #5 ] |
|
|
|
Cult Member |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| @thellier
If I understand correctly the driver that is available to OS4.1 FE and the video cards being used should be capable enough.
I guess I am a solution looking for a problem. _________________ John 3:16 |
|
Status: Offline |
|
|
OneTimer1
| |
Re: Amiga OS 4.1 and OpenCL Posted on 29-Jan-2019 18:31:33
| | [ #6 ] |
|
|
|
Cult Member |
Joined: 3-Aug-2015 Posts: 983
From: Unknown | | |
|
| @Trekiej
Quote:
Is there any reason why we can not have OpenCL on Amiga OS 4.X?
|
This is because AOS4 has no Interfaces for OpenCL
Quote:
OpenCL (Open Computing Language) is a framework for writing programs that execute across heterogeneous platforms consisting of central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), field-programmable gate arrays (FPGAs) and other processors or hardware accelerators. |
Or did you mean OpenGL?
Quote:
Open Graphics Library (OpenGL) is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics. The API is typically used to interact with a graphics processing unit (GPU), to achieve hardware-accelerated rendering. |
|
|
Status: Offline |
|
|
OneTimer1
| |
Re: Amiga OS 4.1 and OpenCL Posted on 29-Jan-2019 18:32:26
| | [ #7 ] |
|
|
|
Cult Member |
Joined: 3-Aug-2015 Posts: 983
From: Unknown | | |
|
| @Trekiej
Quote:
Trekiej wrote: @NutsAboutAmiga
Thanks, I found out that OpenCL was being added back in 2012 to open source drivers. The thread at Aros-exec mentioned Nouveau. |
This was OpenGL nor OpenCL |
|
Status: Offline |
|
|
Trekiej
| |
Re: Amiga OS 4.1 and OpenCL Posted on 29-Jan-2019 18:34:51
| | [ #8 ] |
|
|
|
Cult Member |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| @OneTimer1
OpenCL could bring one more thing to Amiga Land.
If the Amiga is a "fun machine", then what resolutions and frame rates are we expecting while playing games? _________________ John 3:16 |
|
Status: Offline |
|
|
Trekiej
| |
Re: Amiga OS 4.1 and OpenCL Posted on 29-Jan-2019 18:40:55
| | [ #9 ] |
|
|
|
Cult Member |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| |
Status: Offline |
|
|
broadblues
| |
Re: Amiga OS 4.1 and OpenCL Posted on 30-Jan-2019 12:12:35
| | [ #10 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4446
From: Portsmouth England | | |
|
| @NutsAboutAmiga
IIUC you need compute shaders for OpenCL which Nova doesn't do at the moment.
OpenCL can use the CPU as well thhough, but with a single thread there's not much advantage to it.
_________________ BroadBlues On Blues BroadBlues On Amiga Walker Broad |
|
Status: Offline |
|
|
Rose
| |
Re: Amiga OS 4.1 and OpenCL Posted on 30-Jan-2019 12:52:49
| | [ #11 ] |
|
|
|
Cult Member |
Joined: 5-Nov-2009 Posts: 982
From: Unknown | | |
|
| @broadblues
Quote:
OpenCL can use the CPU as well thhough, but with a single thread there's not much advantage to it. |
Not to mention that OpenCL on CPU is ALWAYS slower than native code. |
|
Status: Offline |
|
|
thellier
| |
Re: Amiga OS 4.1 and OpenCL Posted on 30-Jan-2019 14:34:43
| | [ #12 ] |
|
|
|
Regular Member |
Joined: 2-Nov-2009 Posts: 263
From: Paris | | |
|
| @Trekiej Quote:
the driver that is available to OS4.1 FE and the video cards being used should be capable enough. |
The video cards certainly but the software to compile/run the code has not been ported (I dont know if it is difficult or easy but just not done)
Perhaps you can compile OpenCL to Spir on an other platform buuut there is no Amiga software to run this spir code on the card I mean Nova can run spir code for the shaders but not as a generic "program"
|
|
Status: Offline |
|
|
Trekiej
| |
Re: Amiga OS 4.1 and OpenCL Posted on 30-Jan-2019 20:20:26
| | [ #13 ] |
|
|
|
Cult Member |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| @thellier
Thanks everyone, I could see PPC Linux on an X5000 being helpful in this case. _________________ John 3:16 |
|
Status: Offline |
|
|