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

Hehe, was probably too tired when I wrote those remarks yesterday, didn't even bother to search for "get_global_id" :-D Thanks for relieving my concerns ;-)

It's great you've added a test, you should also make sure it runs as automated tests as part of the build (this probably applies to other stuff in ScalaCL/Test, which was initially more of an informal manual test directory).

Oh, and I think it would be beneficial to devise some sort of optional predictible seed... Some "randomized" algorithms require absolute reproductibility (for instance, Monte-Carlo pricing in finance). Not sure it's possible with scala.math.random, but maybe we could think about supporting scala.util.Random in some way... (replacing it "ad-hoc" with a scalacl.util.CLRandom ?)