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

Additional tools to ease debugging of errors produced by Enzyme #77

Merged
merged 1 commit into from
Oct 19, 2020

Conversation

wsmoses
Copy link
Member

@wsmoses wsmoses commented Oct 18, 2020

To follow #76

Introduces helper utilities __enzyme_float(ptr, size) __enzyme_double(ptr, size) __enzyme_integer(ptr, size) and __enzyme_pointer(ptr, size) which explicitly informs type analysis of the type of [ptr, ptr+size).

Begins use of optimization remarks to provide debug information where type information not able to be determine. This allows source-code information about where type information needs to be injected.

@wsmoses wsmoses requested a review from vchuravy October 18, 2020 18:37
Copy link
Member

@vchuravy vchuravy left a comment

Choose a reason for hiding this comment

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

Nice! Remarks are a great addition

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.

None yet

2 participants