Skip to content

MIN and MAX add MKL kernels #124

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

Merged
merged 2 commits into from
Oct 10, 2020
Merged

MIN and MAX add MKL kernels #124

merged 2 commits into from
Oct 10, 2020

Conversation

densmirn
Copy link
Contributor

@densmirn densmirn commented Oct 7, 2020

No description provided.

@densmirn densmirn requested a review from shssf October 7, 2020 16:56
@codecov
Copy link

codecov bot commented Oct 7, 2020

Codecov Report

Merging #124 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #124   +/-   ##
=======================================
  Coverage   51.45%   51.45%           
=======================================
  Files          19       19           
  Lines        1240     1240           
  Branches      329      329           
=======================================
  Hits          638      638           
  Misses        340      340           
  Partials      262      262           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2903875...b7f0713. Read the comment docs.


result[0] = *res;
_DataType* res = std::min_element(policy, array_1, array_1 + size);
policy.queue().wait();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you wait() for whole queue instead wafting for particular event.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, i think so too. But at this moment we don't know the way how to get single event from PSTL call.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't find anything useful about PSTL calls synchronization to fix that somehow.

@shssf shssf merged commit ba95cbd into master Oct 10, 2020
@shssf shssf deleted the feature/max_min_kernels branch October 10, 2020 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants