Syncleus / aparapi-examples

A framework for executing native Java code on the GPU.

Home Page:http://aparapi.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in sample package add

freemo opened this issue · comments

In the sample class com.amd.aparapi.sample.add.Main (i.e. in the file samples/add/src/com/amd/aparapi/sample/add/Main.java) there is the following line:

kernel.execute(Range.create(512));

But that should be:

kernel.execute(Range.create(size));