Wsiegenthaler/nativelibs4java — comment on commit df19f663de4567aeeaaabbd4a76a7148e704630d
File:  line 0
By Wsiegenthaler:

Great suggestions - I've pushed the latest.

Concerning seeding of the generator, MWC64X_SeedStreams does use get_global_id(0) and should allocate non-overlapping regions of the sequence space to each work item. __cl_random_seed is used as a base offset for this allocation, so if my understanding is correct it's like a single seed for all work items in a given invocation. Further "splitting of the streams" then happens within each kernel when MWC64X_SeedStreams is called ala get_global_id(0). Let me know if you think I'm being naive here.

And you're right, randomSeedParam should refer to randomSeedName but I think I'd need to move MWC64X_RNG.scala to ScalaCL/Collections. How do you feel about that?