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

[oneMKL][Stats][Spec] Simplify and clean up Summary Statistics domain #494

Merged

Conversation

aelizaro
Copy link
Contributor

@aelizaro aelizaro commented Sep 4, 2023

  • Simplify examples and make them pseudocode
  • Remove unnecessary details about dataset

@aelizaro
Copy link
Contributor Author

aelizaro commented Sep 4, 2023

@paveldyakov, @andreyfe1, @iMartyan please, take a look

Copy link
Contributor

@andreyfe1 andreyfe1 left a comment

Choose a reason for hiding this comment

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

Looks good to me overall


sycl::usm_allocator<float, sycl::usm::alloc::shared> allocator(queue);
// allocate USM memory for the dataset of the size n_observations * n_dims and fill it with any data
// allocate USM memory for the mean output of the size n_dims
Copy link
Contributor

Choose a reason for hiding this comment

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

USM is unified shared memory. So, USM memory stands for using "memory" twice :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch, fixed

@iMartyan
Copy link
Contributor

iMartyan commented Sep 5, 2023

lgtm

@spencerpatty spencerpatty merged commit b1a323e into uxlfoundation:main Sep 5, 2023
3 checks passed
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.

5 participants