gocl icon indicating copy to clipboard operation
gocl copied to clipboard

helloWorld.js doesn't work

Open fabiand opened this issue 11 years ago • 1 comments

$ 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).

fabiand avatar Aug 19 '13 10:08 fabiand

Ok, I forgot to update that example after latest API changes. Will fix that.

elima avatar Oct 01 '13 09:10 elima