go-opencl
go-opencl copied to clipboard
OpenCL bindings for Go
should add ``` #define CL_TARGET_OPENCL_VERSION 120 ``` before including any *cl*.h
## System OS: Windows 10 w/ WSL2; Ubuntu 18.04.5 LTS GPU: Intel UHD 620 (iGPU) OpenCL Installable Client Driver used: https://github.com/OCL-dev/ocl-icd ## Reproduced error Tried running `cl.GetPlatforms()`, with no prior...
Where file cl_test.go
Hi, This appears to be abandoned and is incomplete - but its the first hit return by google when looking for golang and opencl. Is there a better version to...
On a linux machine i see this: jpad@guru:~$ go get github.com/samuel/go-opencl/cl # github.com/samuel/go-opencl/cl prog/go/extern/src/github.com/samuel/go-opencl/cl/cl.go:19:17: fatal error: cl.h: No such file or directory // #include "cl.h" ^ compilation terminated. I guess...
Had to add these to build on latest Mac OS X version.
I'm not the author of this changeset, but I had this problem, saw this patch in this fork, and thought I'd make a pull request to add it upstream.
OpenCL string-returning functions include NUL terminators, included in the length of the returned string. Go strings shouldn't contain these terminators, but at present, they do. This commit fixes that and...