Skip to content

Conversation

@cperkinsintel
Copy link
Contributor

Any pointer captured into the SYCL kernel lamba will fail when dereferenced ... except USM. If it weren't for USM we could just emit a deferred diagnostic for every pointer capture. Instead, we attempt to identify which pointers are USM, and which are definitely not. For those that are definitely not, we emit an error diagnostic, which also instructs the developer to use USM. For those pointer captures that are unknown, we emit a note suggesting that the developer ensure they are using USM. For captured pointer expressions that are identified as USM, we do nothing.

Signed-off-by: Chris Perkins <chris.perkins@intel.com>
Signed-off-by: Chris Perkins <chris.perkins@intel.com>
Signed-off-by: Chris Perkins <chris.perkins@intel.com>
Signed-off-by: Chris Perkins <chris.perkins@intel.com>
Signed-off-by: Chris Perkins <chris.perkins@intel.com>
Signed-off-by: Chris Perkins <chris.perkins@intel.com>
Signed-off-by: Chris Perkins <chris.perkins@intel.com>
Signed-off-by: Chris Perkins <chris.perkins@intel.com>
Signed-off-by: Chris Perkins <chris.perkins@intel.com>
Signed-off-by: Chris Perkins <chris.perkins@intel.com>
@cperkinsintel
Copy link
Contributor Author

Hmm - I see a fatal flaw. Going to close this PR for now.

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.

1 participant