-
Notifications
You must be signed in to change notification settings - Fork 795
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
As the title says, when using default-constructed in free function kernels, something goes wrong at runtime and we may sporadically end up with use after free of the memory that was occupied by the accessor which manifests often on GPU when run under memory sanitizers. This issue entails an investigation into why this is and a permanent fix of the issue.
As an example, the issue #20225 captures such a failure and is the only such failure known until now.
There is a workaround in the works for it at #20423 which will allow us to close that issue and remove the UNSUPPORTED directive in order to increase test coverage but it is not a fix of the issue in and of itself. That is to be done under this issue.
To reproduce
- Include a code snippet that is as short as possible
- Specify the command which should be used to compile the program
- Specify the command which should be used to launch the program
- Indicate what is wrong and what was expected
Environment
- OS: Any
- Target device and vendor: Any
- DPC++ version: 4c83753
- Dependencies version: [e.g. the output of
sycl-ls --verbose]
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working