Skip to content

Remove assert in cuda.c#2291

Open
RodneyNeilMorris wants to merge 2 commits intopjreddie:masterfrom
RodneyNeilMorris:master
Open

Remove assert in cuda.c#2291
RodneyNeilMorris wants to merge 2 commits intopjreddie:masterfrom
RodneyNeilMorris:master

Conversation

@RodneyNeilMorris
Copy link
Copy Markdown

Calling assert(0) in check_error causes an abort before the error message is written.
The error() method calls assert (and exit(-1)) anyway, so no need to assert here.

Calling assert(0) in check_error causes an abort before the error message is written.
The error() method calls assert (and exit(-1)) anyway, so no need to assert here.
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