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

gpu: sycl: sum: implemented #1940

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

t4c1
Copy link
Contributor

@t4c1 t4c1 commented May 31, 2024

Add SYCL implementation for sum primitive. There is one implementation that handles up to 16 inputs and another one that repeatedly uses the first one for more inputs.

co-authored with @kala855

@t4c1 t4c1 requested a review from densamoilov May 31, 2024 13:15
@vpirogov vpirogov added this to the v3.6 milestone Jun 1, 2024
@t4c1 t4c1 force-pushed the john/sycl_sum_impl branch 2 times, most recently from 479719a to 70d31dc Compare June 10, 2024 12:00
@t4c1 t4c1 requested a review from dzarukin June 10, 2024 12:08
@t4c1
Copy link
Contributor Author

t4c1 commented Jun 11, 2024

Is the CI timing out on Win Server 2022 expected? I have the same happening on another PR after rebasing on main, just like on this one.

@vpirogov
Copy link
Member

@t4c1, these timeouts are expected. Looks like MSVC update from 19.39.33523.0 to 19.40.33811.0 in Azure environment breaks gtest framework.

#define DNNL_ARG_SRC_14 15
#define DNNL_ARG_SRC_15 16

#define MAX_NUM_TENSORS 16
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this specific to sycl sum implementation? If so I would advice to name it accordingly (e.g. DNNL_REF_SUM_MAX_NUM_TENSORS)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@kala855 kala855 requested a review from mgouicem July 19, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants