rzel / aparapi

Automatically exported from code.google.com/p/aparapi
Other
0 stars 0 forks source link

Does not add correctly through JTP #138

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Just run the main of AparapiBad
2.Un-comment the following lines labeled "// Try with this on"
3.Do part two in multiple combinations

What is the expected output? What do you see instead?
You should see in the output:
data 0
data 2
data 2
data 2
data 2
data 2
data 2
data 2
data 2
data 2

but you can get something similar to:

data 0
data 2
data 2
data 2
data 2
data 2
data 12
data 2
data 2
data 2

What version of the product are you using? On what operating system?
Windows 8.1 x64 Aparapi01-23-13

Please provide any additional information below.
aparapi-2012-05-06 works

Aparapi01-23-13 does not work

Original issue reported on code.google.com by nihunte...@gmail.com on 10 Feb 2014 at 3:52

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for reporting this.  

So you are executing on JTP only.  Just so I understand. 

How many CPU cores do you have?  

Original comment by frost.g...@gmail.com on 10 Feb 2014 at 4:57

GoogleCodeExporter commented 8 years ago
4 core 8 threaded

Original comment by nihunte...@gmail.com on 10 Feb 2014 at 5:33

GoogleCodeExporter commented 8 years ago
Oh yeah sorry only JTP.

Original comment by nihunte...@gmail.com on 10 Feb 2014 at 5:50

GoogleCodeExporter commented 8 years ago
Could you change the value of 'len' to 16 and confirm that this is still an 
issue. 

I am suspecting that this is a result of (len%availableProcessors)!=0

Gary 

Original comment by frost.g...@gmail.com on 10 Feb 2014 at 2:27

GoogleCodeExporter commented 8 years ago
yeah it is still a problem and sometimes it occurs not all the time.

run:
data 0
data 2
data 2
data 2
data 2
data 2
data 2
data 2
data 2
data 2
data 2
data 0
data 2
data 2
data 2
data 2

Original comment by nihunte...@gmail.com on 10 Feb 2014 at 4:59

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Upon further investigation aparapi-2012-05-06 does not work either.

Original comment by nihunte...@gmail.com on 10 Feb 2014 at 9:59