Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better usability for parallel random #16

Open
ochafik opened this issue Mar 18, 2015 · 1 comment
Open

Better usability for parallel random #16

ochafik opened this issue Mar 18, 2015 · 1 comment
Labels

Comments

@ochafik
Copy link
Member

ochafik commented Mar 18, 2015

From @kozlov-p-v on December 13, 2012 19:7

Now, the ParallelRandom class http://nativelibs4java.sourceforge.net/javacl/api/stable/com/nativelibs4java/opencl/util/ParallelRandom.html have only few methods. And all of them can only return pointers of Integer which distrubute on [-Integer.MAX_VALUE,Integer.MAX_VALUE]
It is not really comfortable to work with it.

It will be very useful to have methods which create vectors, uniformly distributed on [0,1) or oven on [left,right] - something like createRandomDoubles(int size, double left, double right).

It is just a syntactic sugar for exising operations.

Copied from original issue: nativelibs4java/nativelibs4java#347

@ochafik ochafik added the JavaCL label Mar 18, 2015
@ochafik
Copy link
Member Author

ochafik commented Mar 18, 2015

Hi @kozlov-p-v ,

Thanks for your suggestion, this would be nice to have indeed! (will try and find time for this in the coming weeks)

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant