Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL] Fix USM/copy.cpp for double #1244

Closed
wants to merge 2 commits into from

Conversation

aelovikov-intel
Copy link

No description provided.

@aelovikov-intel aelovikov-intel requested a review from a team as a code owner September 9, 2022 20:55
@aelovikov-intel
Copy link
Author

I don't have a local machine that can reproduce the failure, so will have to use pre-commit testing to see if it actually works.

@@ -71,6 +71,10 @@ template <typename T> void test(queue q, T val, T *src, T *dst, bool dev_dst) {
}

template <typename T> void runTests(queue q, T val, alloc kind1, alloc kind2) {
if ((std::is_same_v<T, double> || std::is_same_v<T, test_struct>)&&!q

Choose a reason for hiding this comment

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

Maybe we can just remove double from the test_struct or have two structs - with and without double.

Choose a reason for hiding this comment

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

I have applied this suggestion in #1242

@aelovikov-intel
Copy link
Author

Closing in favor of #1242.

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

Successfully merging this pull request may close these issues.

3 participants