-
Notifications
You must be signed in to change notification settings - Fork 22
Example: time test example for random.normal distr. #752
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
Conversation
dpnp/backend/examples/example10.cpp
Outdated
|
||
for (size_t i = 0; i < iters; ++i) | ||
{ | ||
dpnp_rng_srand_c(seed); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure you need to set the same initial value at any loop iteration?
dpnp/backend/examples/example10.cpp
Outdated
* Example 10. | ||
* | ||
* Possible compile line: | ||
* clang++ -fPIC -fsycl dpnp/backend/examples/example10.cpp -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath='$ORIGIN'/dpnp -ldpnp_backend_c -o example10 -lmkl_sycl -lmkl_intel_ilp64 -lmkl_core |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect you don't have to set -fsycl
here. in this case, it might be a regular gcc
as a compiler
No need -fPIC
because it is not a library (*.so)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see #754 for details
Please remove the "in progress" label when this PR is ready to be merged. |
@shssf This PR is ready to merge. |
No description provided.