I've been having trouble with bindings because I use windows with go and go 
compiler uses mingw.
This means that even on windows, I need the ".a" files rather than the 
".lib" files for the linker.
The problem is, the cuda-toolkit for windows does NOT give you the .a files.
The solution: Use the "syscall" package.
So far I've been able to get a device and context and query properties of 
the device and context.
Now working on creating bindings for clBuildProgram to get my first 
hello-world up and running.

If anyone is interested: Email me: HeavyMetalCookies AT Gmail DOT-COM

On Thursday, June 14, 2012 at 6:41:30 PM UTC-7, Tharaneedharan Vilwanathan 
wrote:
>
> Hi,
>
> I have shown interest off and on in using OpenCL in Go. I am still waiting 
> for something that is usable and as easy as OpenGL in Go. In the recent 
> time, I also got ATI 6850 card for this. So I am very interested.
>
> Thanks
> dharani
>
> On Thu, Jun 14, 2012 at 5:02 PM, Nick Sarten <gen.b...@gmail.com 
> <javascript:>> wrote:
>
>> From a quick search of Github I found  
>> https://github.com/tones111/go-opencl. Bitbucket's seach is 
>> frustratingly unhelpful, but I would bet there's other Go/OpenCL projects 
>> on there other than just mine.
>>
>> I also made an attempt myself to create an interface between OpenCL and 
>> Go, but admittedly it wasn't very well organised, and hasn't been updated 
>> to work with the latest Go release. I also found the constantly changing 
>> format and installation method of AMD's APP SDK to be a pain when it comes 
>> to compiling anything for OpenCL (every version reorganises where it 
>> installs to, and it doesn't install the libraries/headers to a standard 
>> location like /usr/lib/).
>>
>> Hope this information helps,
>>    Nick
>>
>>
>> On Wednesday, 13 July 2011 16:47:45 UTC+12, M. Yurko wrote:
>>>
>>> So, there are a number of older posts asking about OpenCL or CUDA 
>>> bindings. Has anyone made any significant progress? Does anyone have a 
>>> public repository with interface code? I'm consider go  for a project, 
>>> but I will need decent bindings to either OpenCL or CUDA. 
>>>
>>> Thanks for any help, 
>>> Mike Yurko
>>
>>
>

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

Reply via email to