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

[SYCL] Add test for AllocaCommand cleanup #466

Closed
wants to merge 1 commit into from

Conversation

abuyukku
Copy link

No description provided.

}

auto policy = oneapi::dpl::execution::make_device_policy(q);
auto w_begin = oneapi::dpl::begin(w_buf);

Choose a reason for hiding this comment

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

I believe it's better to avoid dependencies on non SYCL APIs in these tests.
Tagging @vladimirlaz

Choose a reason for hiding this comment

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

It is better to avoid extra dependencies in these tests? Is it possible to remove the use of DPL?

Copy link
Author

Choose a reason for hiding this comment

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

Added is the reproducer for the sporadic segfaults fixed in intel/llvm#4573. I agree that having dependencies to other moving components in SYCL tests is not a good idea, however this was the only reproducer I have at hand. I'll check to see if the issue reproduces even after removing the DPL dependencies.

@abuyukku abuyukku closed this Sep 22, 2021
@abuyukku
Copy link
Author

Closing this PR. intel/llvm#4573 adds in a unit test for the failing scenario fixed there.

@abuyukku abuyukku deleted the test branch September 22, 2021 07:56
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