Skip to content

Propagate nvrtc errors up the stack in AFError exceptions #2948

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

Merged
merged 1 commit into from
Jun 26, 2020

Conversation

umar456
Copy link
Member

@umar456 umar456 commented Jun 26, 2020

Pass error messages from NVRTC failures to AF_ERROR instead of suppressing the output.

Description

NVRTC errors were only printed in debug builds. The error messages
were not passed to the exceptions thrown by the lib. This made
it harder to debug issues.

Changes to Users

N/A

Checklist

  • Rebased on latest master
  • Code compiles
  • Tests pass
  • [ ] Functions added to unified API
  • [ ] Functions documented

* NVRTC errors were only printed in debug builds. The error messages
  were not passed to the exceptions thrown by the lib. This made
  it harder to debug issues
@umar456 umar456 added this to the 3.7.2 milestone Jun 26, 2020
@umar456 umar456 merged commit f263072 into arrayfire:master Jun 26, 2020
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.

2 participants