gocl
gocl copied to clipboard
helloWorld.js doesn't work
$ gjs /usr/share/doc/gocl-0.1.4/helloWorld.js
JS ERROR: !!! Exception was: TypeError: Gocl.Context.get_default_cpu is not a constructor
JS ERROR: !!! message = '"Gocl.Context.get_default_cpu is not a constructor"'
JS ERROR: !!! fileName = '"/usr/share/doc/gocl-0.1.4/helloWorld.js"'
JS ERROR: !!! lineNumber = '24'
JS ERROR: !!! stack = '"@/usr/share/doc/gocl-0.1.4/helloWorld.js:24
"'
TypeError: Gocl.Context.get_default_cpu is not a constructor
That's what I see.
But I can tell that gocl is working with pocl (when using sync).
Ok, I forgot to update that example after latest API changes. Will fix that.