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

load order issue in the error handling code #10

Open
attila-lendvai opened this issue Sep 29, 2016 · 0 comments
Open

load order issue in the error handling code #10

attila-lendvai opened this issue Sep 29, 2016 · 0 comments

Comments

@attila-lendvai
Copy link

attila-lendvai commented Sep 29, 2016

cuda-report-errors and cuda-scan-error-buffer are defined in the same file, but the former calls the latter, which can lead to errors if they are called at load time (see #9 where/why that happens).

another toplevel form in that same file tries to initialize the device, which leads to a cuda-invoke, which then leads to a call to cuda-scan-error-buffer which is not yet loaded/defined at that point.

backtrace is available in Xach's report in #8 (the backtrace is not very useful).

@attila-lendvai attila-lendvai changed the title cuda-report-errors calls cuda-scan-error-buffer, so calling it at load time will lead to an undefined-function error load order issue in the error handling code Sep 29, 2016
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

No branches or pull requests

1 participant