Error in sample package add
freemo opened this issue · comments
Jeffrey Phillips Freeman commented
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));