OpenCL

68 views
Skip to first unread message

Olivier Gagnon

unread,
Mar 23, 2015, 12:48:29 AM3/23/15
to go...@googlegroups.com
Hey all,

I would like to propose myself to develop and maintain
  1. an OpenCL bindings.
  2. a go-idiomatic layer on top of the bindings. 
If no one is opposed would it be possible to make a go-gl/cl repo and give me write access. This repo would be just for the 1:1 OpenCL bindings.
 my github is hydroflame, I'm also on the gophers slack.

https://github.com/hydroflame
https://github.com/luxengine

Olivier Gagnon

unread,
Mar 23, 2015, 12:51:17 AM3/23/15
to go...@googlegroups.com
I forgot to mention, I take cross-platform very seriously so the bindings will be develop with all 3 major operating systems in mind. I can even test it since i have all 3 at home.

Stephen Gutekanst

unread,
Mar 23, 2015, 1:00:54 AM3/23/15
to Olivier Gagnon, go...@googlegroups.com
I had talked with Olivier on Slack about this prior to him posting. Overall I think it's a good idea and sits well with the other repos. I'm in favor of creating and giving him ownership of the go-gl/cl repository.

Traditionally the go-gl packages are wrappers on top of the plain C API's without introducing any performance overhead or API changes to them (otherwise people will be tempted to create new "slimmer and faster" bindings). For this reason, I suggest keeping the go-idiomatic layer in a separate sub-package or something.

What do others here think? :)

--
You received this message because you are subscribed to the Google Groups "go-gl OpenGL libraries for go" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-gl+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Follow me on twitter @slimsag.

unit0x03

unread,
Mar 23, 2015, 1:17:30 AM3/23/15
to Stephen Gutekanst, Olivier Gagnon, go-gl
This all sounds excellent to me, as I've been really wanting a go-idiomatic binding layer for OpenCL. If Oliver's motivated and willing, then excellent!

Peter Waller

unread,
Mar 23, 2015, 4:27:31 AM3/23/15
to go...@googlegroups.com
On 23/03/15 05:00, Stephen Gutekanst wrote:
> What do others here think? :)

SGTM.

Dmitri Shuralyov

unread,
Mar 23, 2015, 6:15:22 AM3/23/15
to go...@googlegroups.com
Sounds great, thanks for stepping up to do this and fill in a missing piece! Everything you said SGTM.

One suggestion, you could do development on your personal github and when it's ready, transfer tHe repo to go-gl/cl org. That's how most existing libraries have ended up there.

Alternatively, if you do start with go-gl/cl, you could do development on non-master branch, and when it's ready, make a PR to merge to master.

Either way, we will get a chance to review the code when it's finished and ready for review.

Also, have you searched to check there are no OpenCL bindings anywhere else?

Dmitri Shuralyov

unread,
Mar 23, 2015, 6:28:12 AM3/23/15
to go...@googlegroups.com
Any thoughts on these?

http://go-search.org/search?q=OpenCL

https://godoc.org/github.com/samuel/go-opencl/cl

I have no idea about their quality/status, just pointing it out since I didn't see it mentioned.

Olivier Gagnon

unread,
Mar 23, 2015, 10:45:11 AM3/23/15
to go...@googlegroups.com
Yeah I'll look at what already exist for sure. I dont mind putting on my own github first but I'll put it on luxengine repo since its my computer graphic related stuff.

Olivier Gagnon

unread,
Mar 23, 2015, 2:09:56 PM3/23/15
to go...@googlegroups.com
We also have to decide on what to do with the multiple version of OpenCL

go-gl/v1.0/cl
go-gl/v1.1/cl
go-gl/v1.2/cl


???

On Monday, March 23, 2015 at 12:48:29 AM UTC-4, Olivier Gagnon wrote:

Stephen Gutekanst

unread,
Mar 23, 2015, 2:19:08 PM3/23/15
to Olivier Gagnon, go...@googlegroups.com
Yes. I think it should follow the same pattern as go-gl/glfw (the pattern you described).

--
You received this message because you are subscribed to the Google Groups "go-gl OpenGL libraries for go" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-gl+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Peter Waller

unread,
Mar 23, 2015, 2:54:15 PM3/23/15
to go...@googlegroups.com
Uh, I assume what was meant is go-gl/cl/v1.2/cl :)


On 23/03/15 18:19, Stephen Gutekanst wrote:

Olivier Gagnon

unread,
Mar 25, 2015, 3:06:26 PM3/25/15
to go...@googlegroups.com
The samples are up and the drivers are 90% done.

Stephen Gutekanst

unread,
Mar 25, 2015, 4:10:49 PM3/25/15
to Olivier Gagnon, go...@googlegroups.com
Given his fast progress on the topic: I've gone ahead and created the go-gl/cl repository and given Olivier write access to it.

Cheers,
Stephen

Olivier Gagnon

unread,
Mar 26, 2015, 1:08:24 AM3/26/15
to go...@googlegroups.com, oli.gag...@gmail.com
The bindings are up on go-gl github. I'm still adding tests but everything should work as expected from now (version 1.2 only). 
Reply all
Reply to author
Forward
0 new messages