← 返回首页
Propagate nvrtc errors up the stack in AFError exceptions by umar456 · Pull Request #2948 · arrayfire/arrayfire · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Propagate nvrtc errors up the stack in AFError exceptions#2948

Merged
umar456 merged 1 commit into
arrayfire:masterfrom
umar456:nvrtc_err_chk
Jun 26, 2020
Merged

Propagate nvrtc errors up the stack in AFError exceptions#2948
umar456 merged 1 commit into
arrayfire:masterfrom
umar456:nvrtc_err_chk

Conversation

Copy link
Copy Markdown
Member

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 added this to the 3.7.2 milestone Jun 26, 2020
umar456 merged commit f263072 into arrayfire:master Jun 26, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Footer

© 2026 GitHub, Inc.